From 81f391e97f74006ecea3ae8cbbbbac8f58d50155 Mon Sep 17 00:00:00 2001 From: Sam Date: Wed, 12 Nov 2014 09:58:20 +1100 Subject: [PATCH] only publish distributed cache to user_id -1 --- lib/distributed_cache.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/distributed_cache.rb b/lib/distributed_cache.rb index 59644db40e9..01cc14da324 100644 --- a/lib/distributed_cache.rb +++ b/lib/distributed_cache.rb @@ -55,7 +55,7 @@ class DistributedCache def self.publish(hash, message) message[:origin] = hash.object_id - MessageBus.publish(channel_name, message) + MessageBus.publish(channel_name, message, {user_ids: [-1]}) end def self.set(hash, key, value)