需要帮助配置'redis-sentinel‘gem与’侧翼‘。
获取此错误->错误获取消息: ERR未知命令'sentinel‘
请看这个要点(从底部开始)- https://gist.github.com/nitinstp23/6919253
提前谢谢。
发布于 2014-09-22 14:30:11
少了一步。您需要像这样定义Redis.current:
redis_connection = proc {
Redis.current = Redis.new(master_name: "mymaster", sentinels: sentinels[Rails.env])
}
redis = ConnectionPool.new(size: 10, &redis_connection)https://stackoverflow.com/questions/19298727
复制相似问题