Skip to content

Commit

Permalink
merge
Browse files Browse the repository at this point in the history
  • Loading branch information
mperham committed Nov 1, 2021
2 parents 4d30390 + ba2fa2d commit 8cc43f7
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 5 deletions.
4 changes: 3 additions & 1 deletion lib/sidekiq/launcher.rb
Expand Up @@ -69,10 +69,12 @@ def stopping?

private unless $TESTING

BEAT_PAUSE = 5

def start_heartbeat
loop do
heartbeat
sleep 5
sleep BEAT_PAUSE
end
Sidekiq.logger.info("Heartbeat stopping...")
end
Expand Down

0 comments on commit 8cc43f7

Please sign in to comment.