Added max retry to 3 on PushNotificationWorker
• Added: - max retry to 3 on PushNotificationWorker
This commit is contained in:
parent
504c08ecf7
commit
56d0698536
@ -3,7 +3,7 @@
|
||||
class Web::PushNotificationWorker
|
||||
include Sidekiq::Worker
|
||||
|
||||
sidekiq_options backtrace: true
|
||||
sidekiq_options backtrace: true, retry: 3
|
||||
|
||||
def perform(subscription_id, notification_id)
|
||||
subscription = ::Web::PushSubscription.find(subscription_id)
|
||||
|
Loading…
x
Reference in New Issue
Block a user