2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-09-06 10:50:21 +08:00

FEATURE: topics per page should not be configurable

Can lead to severe performance issues
This commit is contained in:
Sam 2014-12-15 11:24:16 +11:00
parent ae16186100
commit 4cd9243888
17 changed files with 1 additions and 24 deletions

View file

@ -157,7 +157,7 @@ class TopicQuery
protected
def per_page_setting
@options[:slow_platform] ? SiteSetting.slow_topics_per_page : SiteSetting.topics_per_page
@options[:slow_platform] ? 30 : 15
end
def create_list(filter, options={}, topics = nil)