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

- old
+ new

@@ -8,11 +8,11 @@ private def perform_job Server.redis do |conn| - conn.hincrby(Server.keys.stats, 'performed', 1) - conn.lpush("#{Server.keys.perform}:#{@job.priority}", @job.to_json) + conn.hincrby(Server.keys[:stats], 'performed', 1) + conn.lpush("#{Server.keys[:perform]}:#{@job.priority}", @job.to_json) end end end end end