Improve background jobs params and error handling
This commit is contained in:
parent
251b04298e
commit
6c28886317
5 changed files with 12 additions and 2 deletions
|
@ -4,7 +4,7 @@ class Pubsubhubbub::ConfirmationWorker
|
|||
include Sidekiq::Worker
|
||||
include RoutingHelper
|
||||
|
||||
sidekiq_options queue: 'push'
|
||||
sidekiq_options queue: 'push', retry: false
|
||||
|
||||
def perform(subscription_id, mode, secret = nil, lease_seconds = nil)
|
||||
subscription = Subscription.find(subscription_id)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue