added 260907 version of worker toolkit
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
class NotificationDispatcher
|
||||
include Sidekiq::Worker
|
||||
|
||||
def perform
|
||||
Notification.distinct(:encrypted_notify_user_id).each do |encrypted_id|
|
||||
GroupNotifiersPerUser.perform_async(encrypted_id)
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user