FIX: Bump up backfill size to 50

This commit is contained in:
Robin Ward 2016-08-10 17:51:29 -04:00
parent c1cd9e0647
commit 4bb6f88181
1 changed files with 1 additions and 1 deletions

View File

@ -570,7 +570,7 @@ class Search
min_id = Search.min_post_id
if min_id > 0
fast_query = posts.dup.where("post_search_data.post_id >= #{min_id}")
posts = fast_query if fast_query.dup.count >= 20
posts = fast_query if fast_query.dup.count >= 50
end
exact_terms = @term.scan(/"([^"]+)"/).flatten