Added max retry to 3 on PushNotificationWorker

• Added:
- max retry to 3 on PushNotificationWorker
This commit is contained in:
mgabdev 2020-07-14 00:21:46 -05:00
parent 504c08ecf7
commit 56d0698536

View File

@ -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)