Changing a policy on Redis instance

eatoncwPRO

a year 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

a year 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 noeviction

and this command to get the current setting

CONFIG GET maxmemory-policy