This commit is contained in:
Mike Perham 2021-09-13 09:33:57 -07:00
parent 582b57a3a6
commit a3b4fafdbb
2 changed files with 4 additions and 4 deletions

View File

@ -22,8 +22,7 @@ require "sidekiq/middleware/current_attributes"
Sidekiq::CurrentAttributes.persist(Myapp::Current) # Your AS:CurrentAttributes singleton
```
- Retry Redis operation if we get an `UNBLOCKED` Redis error. [#4985]
- **BREAKING CHANGE** Run existing signal-handling code, if there is any, before running sidekiq's
signal-handling code. [#4991]
- Run existing signal traps, if any, before running Sidekiq's trap. [#4991]
6.2.2
---------

View File

@ -50,8 +50,9 @@ module Sidekiq
if old_handler.respond_to?(:call)
begin
old_handler.call
rescue Exception
puts $!.inspect
rescue Exception => exc
# signal handlers can't use Logger so puts only
puts ["Error in #{sig} handler", exc].inspect
end
end
self_write.puts(sig)