add default queue
This commit is contained in:
@@ -181,7 +181,7 @@ class Artist < ActiveRecord::Base
|
||||
# potential race condition but unlikely
|
||||
unless TagImplication.where(:antecedent_name => name, :consequent_name => "banned_artist").exists?
|
||||
tag_implication = TagImplication.create(:antecedent_name => name, :consequent_name => "banned_artist")
|
||||
tag_implication.delay.process!
|
||||
tag_implication.delay(:queue => "default").process!
|
||||
end
|
||||
|
||||
update_column(:is_active, false)
|
||||
|
||||
@@ -373,7 +373,7 @@ class Tag < ActiveRecord::Base
|
||||
if post_count < 100
|
||||
update_related
|
||||
else
|
||||
delay.update_related
|
||||
delay(:queue => "default").update_related
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user