Sha256: 576598e093aac631d55aff485f4f0fc540cbb05fc263355c8e57c179d2fd8250
Contents?: true
Size: 373 Bytes
Versions: 2
Compression:
Stored size: 373 Bytes
Contents
module QPush module Server module Apis class Morgue < Base def call send_to_morgue end private def send_to_morgue Server.redis do |conn| conn.hincrby(Server.keys[:stats], 'dead', 1) conn.lpush(Server.keys[:morgue], @job.to_json) end end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
qpush-0.1.10 | lib/qpush/server/apis/morgue.rb |
qpush-0.1.8 | lib/qpush/server/apis/morgue.rb |