Skip to content

Commit

Permalink
add heartbeat log
Browse files Browse the repository at this point in the history
  • Loading branch information
hone committed Oct 13, 2011
1 parent caf263b commit 4a3c5c0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/resque/worker.rb
Expand Up @@ -112,6 +112,7 @@ def setup_keepalive_thread(interval)
redis.set(self, self)
redis.expire(self, interval)
end
log! "Heartbeat for #{self}"
sleep interval
end
}
Expand Down

0 comments on commit 4a3c5c0

Please sign in to comment.