Some worker updates.

This commit is contained in:
Fosco Marotto
2021-02-05 13:25:46 -05:00
parent c45d8adbf2
commit a43a7af771
4 changed files with 7 additions and 57 deletions

View File

@@ -3,6 +3,8 @@
class LocalNotificationWorker
include Sidekiq::Worker
sidekiq_options queue: 'default', retry: 3
def perform(receiver_account_id, activity_id = nil, activity_class_name = nil)
return true if activity_id.nil? or activity_class_name.nil?