disable timeout on mass_update approval check on admin dashboard
This commit is contained in:
@@ -16,7 +16,9 @@ module BulkUpdateRequestsHelper
|
|||||||
TagImplication.where(antecedent_name: antecedent, consequent_name: consequent, status: "deleted").exists? || !TagImplication.where(antecedent_name: antecedent, consequent_name: consequent).exists?
|
TagImplication.where(antecedent_name: antecedent, consequent_name: consequent, status: "deleted").exists? || !TagImplication.where(antecedent_name: antecedent, consequent_name: consequent).exists?
|
||||||
|
|
||||||
when :mass_update
|
when :mass_update
|
||||||
!Post.raw_tag_match(antecedent).exists?
|
Post.without_timeout do
|
||||||
|
!Post.raw_tag_match(antecedent).exists?
|
||||||
|
end
|
||||||
|
|
||||||
else
|
else
|
||||||
false
|
false
|
||||||
|
|||||||
Reference in New Issue
Block a user