resources/redis_config.rb in plezi-0.12.14 vs resources/redis_config.rb in plezi-0.12.15
- old
+ new
@@ -27,10 +27,10 @@
# ## create a listening thread - rewrite the following code for your own Redis tailored solution.
# ##
# ## the following is only sample code for you to change:
# RADIS_CHANNEL = 'appsecret'
# RADIS_URI = ENV['REDIS_URL'] || ENV['REDISCLOUD_URL'] || "redis://:password@my.host:6389/0"
- # RADIS_CONNECTION = Redis.new(RADIS_URI)
+ # RADIS_CONNECTION = Redis.new(url: RADIS_URI)
# RADIS_THREAD = Thread.new do
# Redis.new(RADIS_URI).subscribe(RADIS_CHANNEL) do |on|
# on.message do |channel, msg|
# msg = JSON.parse(msg)
# # do stuff, i.e.:
\ No newline at end of file