define a specific queue for all deliver_by methods #192
Answered
by
excid3
junaidrasheed
asked this question in
Q&A
-
Hi, I was wondering if there is any way to specify a dedicate Queue to send all deliver_by workers to?. I am using Sidekiq for background job processing at the moment. |
Beta Was this translation helpful? Give feedback.
Answered by
excid3
Jan 13, 2022
Replies: 1 comment
-
Define a job for it and tell Noticed to use the job. https://github.com/excid3/noticed/blob/master/lib/noticed.rb#L36 Noticed.parent_class = "NotificationJob" class NotificationJob < ApplicationJob
queue_as :notifications
end |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
excid3
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Define a job for it and tell Noticed to use the job. https://github.com/excid3/noticed/blob/master/lib/noticed.rb#L36