burs/show: remove BUR update count estimate.
Remove the post update count estimate from BUR show pages. This was complex, slow, and usually inaccurate since it assumed that requests in a BUR had no overlap with each other, which usually wasn't the case.
This commit is contained in:
@@ -20,12 +20,6 @@ class TagBatchChangeJob < ApplicationJob
|
||||
end
|
||||
end
|
||||
|
||||
def self.estimate_update_count(antecedent, consequent)
|
||||
CurrentUser.without_safe_mode do
|
||||
Post.tag_match(antecedent).count
|
||||
end
|
||||
end
|
||||
|
||||
def migrate_posts(normalized_antecedent, normalized_consequent)
|
||||
::Post.tag_match(normalized_antecedent.join(" ")).find_each do |post|
|
||||
post.with_lock do
|
||||
|
||||
Reference in New Issue
Block a user