mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #31432 from yhirano55/add_a_space_to_comment_in_active_job
[ci skip] Add a space to comment in SidekiqAdapter
This commit is contained in:
commit
9242675167
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ module ActiveJob
|
||||||
# Rails.application.config.active_job.queue_adapter = :sidekiq
|
# Rails.application.config.active_job.queue_adapter = :sidekiq
|
||||||
class SidekiqAdapter
|
class SidekiqAdapter
|
||||||
def enqueue(job) #:nodoc:
|
def enqueue(job) #:nodoc:
|
||||||
#Sidekiq::Client does not support symbols as keys
|
# Sidekiq::Client does not support symbols as keys
|
||||||
job.provider_job_id = Sidekiq::Client.push \
|
job.provider_job_id = Sidekiq::Client.push \
|
||||||
"class" => JobWrapper,
|
"class" => JobWrapper,
|
||||||
"wrapped" => job.class.to_s,
|
"wrapped" => job.class.to_s,
|
||||||
|
|
Loading…
Reference in a new issue