We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1179683 commit 5bc0b74Copy full SHA for 5bc0b74
lib/board-linuxfr/redis_plugin.rb
@@ -12,7 +12,7 @@ def initialize(address, port, config, status, logger)
12
@logger = logger
13
@chans = status[:channels] = Hash.new { |h,k| h[k] = EM::Channel.new }
14
@cache = status[:cache] = Cache.new
15
- @redis = Redis.new
+ @redis = Redis.new(host: ENV['REDIS_HOST'] || "localhost", port: ENV['REDIS_PORT'] || 6379)
16
end
17
18
def run
0 commit comments