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

- old
+ new

@@ -16,11 +16,11 @@ private def delay_job Server.redis do |conn| - conn.hincrby(Server.keys.stats, @stat, 1) - conn.zadd(Server.keys.delay, @time, @job.to_json) + conn.hincrby(Server.keys[:stats], @stat, 1) + conn.zadd(Server.keys[:delay], @time, @job.to_json) end end def load_type case @type