disable timeout on mass_update approval check on admin dashboard

This commit is contained in:
r888888888
2017-11-13 12:48:09 -08:00
parent 0674a03fb6
commit 93d1ef1cca

View File

@@ -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?
when :mass_update
!Post.raw_tag_match(antecedent).exists?
Post.without_timeout do
!Post.raw_tag_match(antecedent).exists?
end
else
false