more intelligent queuing of async jobs
This commit is contained in:
@@ -622,6 +622,8 @@ class Post < ActiveRecord::Base
|
||||
|
||||
if tags.blank? && Danbooru.config.blank_tag_search_fast_count
|
||||
count = Danbooru.config.blank_tag_search_fast_count
|
||||
elsif tags =~ /^rating:\S+$/
|
||||
count = Danbooru.config.blank_tag_search_fast_count
|
||||
elsif tags =~ /(?:#{Tag::METATAGS}):/
|
||||
count = fast_count_search(tags)
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user