Changing a policy on Redis instance
eatoncw
PROOP
2 years ago
A job queue Node.js library I am using (BullMQ) recommends changing a Redis config to maxmemory-policy=noeviction.
How do I connect to my Redis instance on Railway so I can configure this?
1 Replies
brody
EMPLOYEE
2 years ago
maxmemory-policy is already set to noeviction by default, but if it wasn't you would use software like dbgate and run this query
CONFIG SET maxmemory-policy noevictionand this command to get the current setting
CONFIG GET maxmemory-policy