Module: DeadMan::Heartbeat
Instance Method Summary collapse
Instance Method Details
#pulse(job) ⇒ Object
5 6 7 8 |
# File 'lib/dead_man/heartbeat.rb', line 5 def pulse(job) key = DeadMan.key(job) DeadMan.redis.set(key, Time.now.utc) end |