Skip to content

define a specific queue for all deliver_by methods #192

Answered by excid3
junaidrasheed asked this question in Q&A
Discussion options

You must be logged in to vote

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

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by excid3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants