Adding rack timeout of 30sec, PuSH jobs moved to push queue so they
can be processed separately
This commit is contained in:
parent
c0555f2db6
commit
cc70f28f19
10 changed files with 16 additions and 2 deletions
|
@ -4,6 +4,8 @@ class Pubsubhubbub::ConfirmationWorker
|
|||
include Sidekiq::Worker
|
||||
include RoutingHelper
|
||||
|
||||
sidekiq_options queue: 'push'
|
||||
|
||||
def perform(subscription_id, mode, secret = nil, lease_seconds = nil)
|
||||
subscription = Subscription.find(subscription_id)
|
||||
challenge = SecureRandom.hex
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue