Closed niick7 closed 3 months ago
Hi Team,
Is there any way that we can set the max_attempt at the Job or Queue level like this:
class WelcomeMessageJob def perform ... end def max_attempts **any_number** end def queue_name 'welcome_message_queue' end end
Delayed::Worker.max_attempts = 3 Delayed::Worker.queue_attributes = { welcome_message_queue: { priority: -20, max_attempts: **any_number** }, user_sessions_queue: { priority: -15, max_attempts: **any_number** } }
Hope to hear from you soon,
Thanks
No, there is not
Hi Team,
Is there any way that we can set the max_attempt at the Job or Queue level like this:
Hope to hear from you soon,
Thanks