Temp disable popular tags and news banner.

Emergency measure to to reduce load on Redis.
This commit is contained in:
evazion
2020-11-09 13:21:46 -06:00
parent aa2d04322a
commit f9a44ab192
2 changed files with 3 additions and 1 deletions

View File

@@ -176,10 +176,12 @@ module PostSets
end
def popular_tags
return []
ReportbooruService.new.popular_searches(Date.today, limit: MAX_SIDEBAR_TAGS)
end
def similar_tags
return []
RelatedTagCalculator.cached_similar_tags_for_search(normalized_query(implicit: false), MAX_SIDEBAR_TAGS)
end