mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
polish
This commit is contained in:
parent
c02862bd97
commit
b38bb6f676
4 changed files with 8 additions and 6 deletions
|
@ -4,7 +4,9 @@
|
|||
|
||||
HEAD
|
||||
-----------
|
||||
- Fix overriding `class_attribute` core extension from ActiveSupport with Sidekiq one
|
||||
|
||||
- Fix overriding `class_attribute` core extension from ActiveSupport with Sidekiq one [PikachuEXE, #3499]
|
||||
- Allow job logger to be overridden [AlfonsoUceda, #3502]
|
||||
|
||||
5.0.2
|
||||
-----------
|
||||
|
|
|
@ -39,7 +39,7 @@ module Sidekiq
|
|||
@thread = nil
|
||||
@strategy = (mgr.options[:fetch] || Sidekiq::BasicFetch).new(mgr.options)
|
||||
@reloader = Sidekiq.options[:reloader]
|
||||
@logging = (mgr.options[:job_logger_class] || Sidekiq::JobLogger).new
|
||||
@logging = (mgr.options[:job_logger] || Sidekiq::JobLogger).new
|
||||
@retrier = Sidekiq::JobRetry.new
|
||||
end
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# frozen_string_literal: true
|
||||
module Sidekiq
|
||||
VERSION = "5.0.2"
|
||||
VERSION = "5.0.3"
|
||||
end
|
||||
|
|
|
@ -275,9 +275,9 @@ class TestProcessor < Sidekiq::Test
|
|||
|
||||
before do
|
||||
@mgr = Minitest::Mock.new
|
||||
@mgr.expect(:options, {:queues => ['default'], :job_logger_class => CustomJobLogger})
|
||||
@mgr.expect(:options, {:queues => ['default'], :job_logger_class => CustomJobLogger})
|
||||
@mgr.expect(:options, {:queues => ['default'], :job_logger_class => CustomJobLogger})
|
||||
@mgr.expect(:options, {:queues => ['default'], :job_logger => CustomJobLogger})
|
||||
@mgr.expect(:options, {:queues => ['default'], :job_logger => CustomJobLogger})
|
||||
@mgr.expect(:options, {:queues => ['default'], :job_logger => CustomJobLogger})
|
||||
@processor = ::Sidekiq::Processor.new(@mgr)
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue