lib/jugglite/app.rb in jugglite-0.0.4 vs lib/jugglite/app.rb in jugglite-0.1.0
- old
+ new
@@ -58,10 +58,10 @@
AsyncResponse
end
def setup_redis
@redis_channels = Set.new
- @async_redis = EM::Hiredis.connect
+ @async_redis = EM::Hiredis.connect.pubsub
@async_redis.on(:message) do |channel, message|
expedite_incoming_message(channel, message)
end
end