mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Add docs for the class arg of Client.push
Document the difference between setting a string vs. a Sidekiq::Worker.
This commit is contained in:
parent
bd93f8430b
commit
d61a747733
1 changed files with 4 additions and 1 deletions
|
@ -51,7 +51,10 @@ module Sidekiq
|
|||
# at - timestamp to schedule the job (optional), must be Numeric (e.g. Time.now.to_f)
|
||||
# retry - whether to retry this job if it fails, default true or an integer number of retries
|
||||
# backtrace - whether to save any error backtrace, default false
|
||||
#
|
||||
#
|
||||
# If class is set to the class name, the jobs' options will be based on Sidekiq's default
|
||||
# worker options. Otherwise, they will be based on the job class's options.
|
||||
#
|
||||
# Any options valid for a worker class's sidekiq_options are also available here.
|
||||
#
|
||||
# All options must be strings, not symbols. NB: because we are serializing to JSON, all
|
||||
|
|
Loading…
Reference in a new issue