aliases/implications: remove 'error' state.
Remove the error status from aliases and implications. Aliases and implications normally shouldn't fail because they're validated beforehand. If they do, just let the delayed job itself record the failure. Also disable the delayed job from retrying if the alias/implication somehow fails.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
class ProcessTagRelationshipJob < ApplicationJob
|
||||
queue_as :bulk_update
|
||||
retry_on Exception, attempts: 0
|
||||
|
||||
def perform(class_name:, approver:, antecedent_name:, consequent_name:, forum_topic: nil)
|
||||
relation_class = Kernel.const_get(class_name)
|
||||
|
||||
Reference in New Issue
Block a user