Skip to content

A platform for community discussion. Free, open, simple.

adjust defaults for search log retention

Sam591512fcb82c
diff --git a/config/locales/server.en.yml b/config/locales/server.en.yml
index aa81d9773cb..f3d7cd20334 100644
--- a/config/locales/server.en.yml
+++ b/config/locales/server.en.yml
@@ -1069,7 +1069,7 @@ en:
search_recent_posts_size: "How many recent posts to keep in the index"
log_search_queries: "Log search queries performed by users"
search_query_log_max_size: "Maximum amount of search queries to keep"
- search_query_log_max_retention_days: "Maximum amount of time to keep search queries, in days. Default is 3 years (1095 days)."
+ search_query_log_max_retention_days: "Maximum amount of time to keep search queries, in days."
allow_uncategorized_topics: "Allow topics to be created without a category. WARNING: If there are any uncategorized topics, you must recategorize them before turning this off."
allow_duplicate_topic_titles: "Allow topics with identical, duplicate titles."
unique_posts_mins: "How many minutes before a user can make a post with the same content again"
diff --git a/config/site_settings.yml b/config/site_settings.yml
index 7ee7e1cb358..e26f171ac94 100644
--- a/config/site_settings.yml
+++ b/config/site_settings.yml
@@ -1363,7 +1363,7 @@ search:
default: 1000000
max: 1000000
search_query_log_max_retention_days:
- default: 1095 # 3 years
+ default: 365 # 1 year
max: 1825 # 5 years
uncategorized: