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…
Reference in New Issue