-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
Hi, I have tried to mimic ioredis configuration for sentinel support, but did not manage to have it working. Do you mind posting a configuration example? My (not working) code goes like this:
var redisStore = require('cache-manager-ioredis');
var redisCache = cacheManager.caching({
store: redisStore,
clusterConfig: {
sentinels: [
{ host: options.CACHE_REDIS_HOST, port: options.CACHE_REDIS_PORT },
{ host: options.CACHE_REDIS_HOST2, port: options.CACHE_REDIS_PORT }
],
name: 'mymaster',
password: options.CACHE_REDIS_PASS
}
});
Metadata
Metadata
Assignees
Labels
No labels