lib/qpush/server/worker.rb in qpush-0.1.7 vs lib/qpush/server/worker.rb in qpush-0.1.8
- old
+ new
@@ -95,10 +95,10 @@
return if valid?
fail ServerError, errors.full_messages.join(' ')
end
def assign_globals
- Server.keys = RedisKeys.new(@config.for_keys)
+ Server.keys = RedisKeys.build(@config.namespace, @config.priorities)
Server.worker = self
end
# Registers our workers namespace on Redis
#