Skip to content

Commit

Permalink
Fix crash on exit when Redis is down, sidekiq#2235
Browse files Browse the repository at this point in the history
  • Loading branch information
mperham committed Mar 13, 2015
1 parent 1ff10ac commit b5f3d36
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/sidekiq/launcher.rb
Expand Up @@ -90,6 +90,8 @@ def stop_heartbeat
conn.del("#{identity}:workers")
end
end
rescue
# best effort, ignore network errors
end

end
Expand Down

0 comments on commit b5f3d36

Please sign in to comment.