mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
switch syntax for jruby
This commit is contained in:
parent
ec1b38eb5b
commit
6d40b4b9e5
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@ class TestRetryExhausted < Sidekiq::Test
|
|||
|
||||
exhausted_job = nil
|
||||
exhausted_exception = nil
|
||||
Sidekiq.default_retries_exhausted = -> (job, ex) do
|
||||
Sidekiq.default_retries_exhausted = lambda do |job, ex|
|
||||
exhausted_job = job
|
||||
exhausted_exception = ex
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue