lib/qpush/server/apis/queue.rb in qpush-0.1.7 vs lib/qpush/server/apis/queue.rb in qpush-0.1.8

- old
+ new

@@ -8,11 +8,11 @@ private def queue_job Server.redis do |conn| - conn.hincrby(Server.keys.stats, 'queued', 1) - conn.lpush(Server.keys.queue, @job.to_json) + conn.hincrby(Server.keys[:stats], 'queued', 1) + conn.lpush(Server.keys[:queue], @job.to_json) end end end end end