提交 30ea1a70 编写于 作者: R Rafael Mendonça França

Merge pull request #17215 from aripollak/sidekiq-no-retry-option

Don't pass retry option to Sidekiq
......@@ -21,8 +21,7 @@ def enqueue(job) #:nodoc:
Sidekiq::Client.push \
'class' => JobWrapper,
'queue' => job.queue_name,
'args' => [ job.serialize ],
'retry' => true
'args' => [ job.serialize ]
end
def enqueue_at(job, timestamp) #:nodoc:
......@@ -30,7 +29,6 @@ def enqueue_at(job, timestamp) #:nodoc:
'class' => JobWrapper,
'queue' => job.queue_name,
'args' => [ job.serialize ],
'retry' => true,
'at' => timestamp
end
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册