From acdd35fb017bef7df97d514f0aed9b5b0b625678 Mon Sep 17 00:00:00 2001 From: Nate Berkopec Date: Thu, 25 May 2017 13:56:20 -0600 Subject: [PATCH] Document that anything in sidekiq_options can also be sent to push Was wondering if enterprise-specific features worked here. --- lib/sidekiq/client.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/sidekiq/client.rb b/lib/sidekiq/client.rb index 1eef6525..56e6f1ef 100644 --- a/lib/sidekiq/client.rb +++ b/lib/sidekiq/client.rb @@ -51,6 +51,8 @@ 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 + # + # 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 # symbols in 'args' will be converted to strings. Note that +backtrace: true+ can take quite a bit of