Skip to content

Commit 80b18aa

Browse files
committed
Increase presence timers even futher
1 parent f5201fb commit 80b18aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

synapse/handlers/presence.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,14 +102,14 @@
102102

103103
# If a user was last active in the last LAST_ACTIVE_GRANULARITY, consider them
104104
# "currently_active"
105-
LAST_ACTIVE_GRANULARITY = 5 * 60 * 1000
105+
LAST_ACTIVE_GRANULARITY = 10 * 60 * 1000
106106

107107
# How long to wait until a new /events or /sync request before assuming
108108
# the client has gone.
109109
SYNC_ONLINE_TIMEOUT = 30 * 1000
110110

111111
# How long to wait before marking the user as idle. Compared against last active
112-
IDLE_TIMER = 10 * 60 * 1000
112+
IDLE_TIMER = 12 * 60 * 1000
113113

114114
# How often we expect remote servers to resend us presence.
115115
FEDERATION_TIMEOUT = 30 * 60 * 1000

0 commit comments

Comments
 (0)