eliminate month scale for popular searches (takes up too much space in redis)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
class IntroPresenter
|
||||
def each
|
||||
PopularSearchService.new(Date.today, "month").each_search(20) do |query, count|
|
||||
PopularSearchService.new(Date.today).each_search(20) do |query, count|
|
||||
yield(query, PostSets::Intro.new(query))
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user