Class: RefreshLatestTimestamp
- Inherits:
-
Object
- Object
- RefreshLatestTimestamp
- Defined in:
- lib/resque_stuck_queue.rb
Class Method Summary collapse
Class Method Details
.perform(args) ⇒ Object
195 196 197 198 199 200 201 |
# File 'lib/resque_stuck_queue.rb', line 195 def self.perform(args) = args[0] host = args[1] || "localhost" port = args[2] || "6379" r = Redis.new(:host => host, :port => port) r.set(, Time.now.to_i) end |