BURs: don't automatically retry failed BURs.
If a bulk update job fails, don't automatically retry it. Retrying it will clobber the original error message if it fails again.
This commit is contained in:
@@ -3,6 +3,11 @@
|
||||
class DiscordNotificationJob < ApplicationJob
|
||||
retry_on Exception, attempts: 0
|
||||
|
||||
# XXX delayed_job specific
|
||||
def max_attempts
|
||||
1
|
||||
end
|
||||
|
||||
def perform(forum_post:)
|
||||
forum_post.send_discord_notification
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user