mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FEATURE: topics per page should not be configurable
Can lead to severe performance issues
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user