tags: automatically fix incorrect tag counts during maintenance.
* Automatically fix all tags with incorrect counts during daily maintenance (previously only tags with negative counts were fixed). * Log fixed tags to NewRelic. * Remove the ability to manually fix tag counts with the "Fix" button on the /tags listing. This is no longer necessary now that tags are fixed automatically.
This commit is contained in:
@@ -1,8 +0,0 @@
|
||||
class FixTagPostCountJob < ApplicationJob
|
||||
queue_as :default
|
||||
queue_with_priority 20
|
||||
|
||||
def perform(tag)
|
||||
tag.fix_post_count
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user