express-redis-cache icon indicating copy to clipboard operation
express-redis-cache copied to clipboard

Init Config Commands

Open bsyk opened this issue 6 years ago • 1 comments

Would it be beneficial to have an initialization option that would run commands against the server? My thought is for when a Redis server is created by some launcher (so no control over redis.conf). In this situation, it may be good to be able to run some config commands to set Redis into a given state, such as setting the maxmemory-policy etc, or perhaps warming the cache with values. Opinions on this? I'd be happy to work on this if other's see benefit.

bsyk avatar Jul 15 '18 06:07 bsyk

@bsyk yes, PR welcome to the dev branch.

krazyjakee avatar Aug 10 '18 12:08 krazyjakee