disable timeout for testing whether bulk update request has been approved
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user