Open sheksushant opened 6 years ago
unable to setup redis on heroku server which has auth and password
# try 1 var options = { prefix: 'w', skipConfig: false, redis : keys.redis_url, restore: true };
# try 2
var redisinfo = require('redis-url').parse(keys.redis_url);
var options = { prefix: 'w', skipConfig: false, redis: { host: redisinfo.hostname, port: redisinfo.port, password:redisinfo.password, dropBufferSupport: true, keepAlive: 10000, enableOfflineQueue: false }, redis : keys.redis_url, restore: true };
Make sure you are using RedisCloud addon instead of Heroku Redis as it does not seem to support notify-keyspace-events - https://help.heroku.com/5BP0E8RC/how-to-enable-notify-keyspace-events-on-redis
notify-keyspace-events
unable to setup redis on heroku server which has auth and password
# try 1 var options = { prefix: 'w', skipConfig: false, redis : keys.redis_url, restore: true };
# try 2
var redisinfo = require('redis-url').parse(keys.redis_url);
var options = { prefix: 'w', skipConfig: false, redis: { host: redisinfo.hostname, port: redisinfo.port, password:redisinfo.password, dropBufferSupport: true, keepAlive: 10000, enableOfflineQueue: false }, redis : keys.redis_url, restore: true };