lower priority of Tag#update_category_post_counts jobs

This commit is contained in:
r888888888
2017-11-15 14:16:38 -08:00
parent dba0117b99
commit 071a63e934

View File

@@ -134,7 +134,7 @@ class Tag < ApplicationRecord
Danbooru.config.other_server_hosts.each do |host|
delay(:queue => host).update_category_cache
end
delay(:queue => "default").update_category_post_counts
delay(:queue => "default", :priority => 10).update_category_post_counts
end
def update_category_post_counts