Skip to content
Memcached

3 years ago

Description: A high-performance, distributed memory object caching system

Category: Other

URL: https://railway.app/template/jhyKTw

6 Replies

3 years ago

Reserved.


anonymous

3 years ago

Is there a way to configure the max. cache size? I am getting pymemcache.exceptions.MemcacheServerError: b'object too large for cache' exceptions on one of my endpoints (it has a payload of 2MB).


3 years ago

I will look into this and get back to you!


3 years ago

You can update the start command to -

docker-entrypoint.sh memcached -vv --max-item-size=5m

This sets the max item size to 5MB.


anonymous

3 years ago

Thanks!


3 years ago

For context I have updated the template so anyone who deploys the template from here on out won't have to change anything.


Welcome!

Sign in to your Railway account to join the conversation.

Loading...