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

View File

@@ -47,7 +47,7 @@
<%= raw Danbooru.config.custom_html_header_content %>
</head>
<%= tag.body **body_attributes(CurrentUser.user, params, @current_item) do %>
<%= render "news_updates/listing" %>
<%#= render "news_updates/listing" %>
<header id="top">
<%= link_to Danbooru.config.app_name, root_path, id: "app-name-header", class: "heading" %>