Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

security: Adjust default nag deadline from 12 to 18 months.

Tim Abbottfeabccfaf487
diff --git a/zproject/default_settings.py b/zproject/default_settings.py
index ce29143fb6f..70810909511 100644
--- a/zproject/default_settings.py
+++ b/zproject/default_settings.py
@@ -442,5 +442,8 @@ NAGIOS_BOT_HOST = EXTERNAL_HOST
# Use half of the available CPUs for data import purposes.
DEFAULT_DATA_EXPORT_IMPORT_PARALLELISM = (len(os.sched_getaffinity(0)) // 2) or 1
-# How long after the last upgrade to nag users that the server is insecure
-SERVER_UPGRADE_NAG_DEADLINE = 365
+# How long after the last upgrade to nag users that the server needs
+# to be upgraded because of likely security releases in the meantime.
+# Default is 18 months, constructed as 12 months before someone should
+# upgrade, plus 6 months for the system administrator to get around to it.
+SERVER_UPGRADE_NAG_DEADLINE = 30 * 18