mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Clear worker state upon shutdown, fixes #1764
This commit is contained in:
parent
92c855383e
commit
c293d20aa8
1 changed files with 1 additions and 0 deletions
|
@ -84,6 +84,7 @@ module Sidekiq
|
|||
def stop_heartbeat
|
||||
Sidekiq.redis do |conn|
|
||||
conn.srem('processes', identity)
|
||||
conn.del("#{identity}:workers")
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Reference in a new issue