diff --git a/app/helpers/bulk_update_requests_helper.rb b/app/helpers/bulk_update_requests_helper.rb index fb81e1bd5..f4639125a 100644 --- a/app/helpers/bulk_update_requests_helper.rb +++ b/app/helpers/bulk_update_requests_helper.rb @@ -16,13 +16,14 @@ 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.without_timeout do - !Post.raw_tag_match(antecedent).exists? - end + !Post.raw_tag_match(antecedent).exists? else false end + + rescue PG::QueryCanceled + false end def failed?(command, antecedent, consequent)