only publish distributed cache to user_id -1

This commit is contained in:
Sam 2014-11-12 09:58:20 +11:00
parent a97f2eee05
commit 81f391e97f

View File

@ -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)