mirror of
https://github.com/discourse/discourse.git
synced 2025-03-01 00:39:17 +00:00
PERF: stop featuring users on categories
(this feature has long been removed, no need to run expensive queries every 15 minutes)
This commit is contained in:
parent
6777bd2629
commit
4cef1c1750
@ -11,7 +11,6 @@ class CategoryFeaturedTopic < ActiveRecord::Base
|
||||
end
|
||||
Category.select(:id, :topic_id).find_each do |c|
|
||||
CategoryFeaturedTopic.feature_topics_for(c, current[c.id] || [])
|
||||
CategoryFeaturedUser.feature_users_in(c.id)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user