mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
New site setting: minimum_topics_similar, allows you to specify a minimum amount
of topics that need to be in the database before it will suggest similar topics as a user creates a post.
This commit is contained in:
@@ -222,6 +222,8 @@ class SiteSetting < ActiveRecord::Base
|
||||
client_setting(:topic_views_heat_medium, 2000)
|
||||
client_setting(:topic_views_heat_high, 5000)
|
||||
|
||||
setting(:minimum_topics_similar, 50)
|
||||
|
||||
def self.generate_api_key!
|
||||
self.api_key = SecureRandom.hex(32)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user