lib/qpush/server/apis/morgue.rb in qpush-0.1.7 vs lib/qpush/server/apis/morgue.rb in qpush-0.1.8
- old
+ new
@@ -8,11 +8,11 @@
private
def send_to_morgue
Server.redis do |conn|
- conn.hincrby(Server.keys.stats, 'dead', 1)
- conn.lpush(Server.keys.morgue, @job.to_json)
+ conn.hincrby(Server.keys[:stats], 'dead', 1)
+ conn.lpush(Server.keys[:morgue], @job.to_json)
end
end
end
end
end