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.

typing notifications: Increase various time constants.

Tim Abbott22d59f113260
diff --git a/zproject/default_settings.py b/zproject/default_settings.py
index a56a440a7f0..c279139123e 100644
--- a/zproject/default_settings.py
+++ b/zproject/default_settings.py
@@ -592,15 +592,15 @@ MAX_DRAFTS_IN_REGISTER_RESPONSE = 1000
# How long before a client should assume that another client sending
# typing notifications has gone away and expire the active typing
# indicator.
-TYPING_STARTED_EXPIRY_PERIOD_MILLISECONDS = 15000
+TYPING_STARTED_EXPIRY_PERIOD_MILLISECONDS = 45000
# How long after a user has stopped interacting with the compose UI
# that a client should send a stop notification to the server.
-TYPING_STOPPED_WAIT_PERIOD_MILLISECONDS = 5000
+TYPING_STOPPED_WAIT_PERIOD_MILLISECONDS = 12000
# How often a client should send start notifications to the server to
# indicate that the user is still interacting with the compose UI.
-TYPING_STARTED_WAIT_PERIOD_MILLISECONDS = 10000
+TYPING_STARTED_WAIT_PERIOD_MILLISECONDS = 30000
# The maximum number of subscribers for a stream to have typing
# notifications enabled. Default is set to avoid excessive Tornado