Class: RefreshLatestTimestamp
- Inherits:
-
Object
- Object
- RefreshLatestTimestamp
- Defined in:
- lib/resque_stuck_queue.rb
Class Method Summary collapse
Class Method Details
.perform(args) ⇒ Object
207 208 209 210 211 212 213 |
# File 'lib/resque_stuck_queue.rb', line 207 def self.perform(args) = args[0] host = args[1] port = args[2] r = Redis.new(:host => host, :port => port) r.set(, Time.now.to_i) end |