diff --git a/synapse/handlers/presence.py b/synapse/handlers/presence.py index 4c55383f65c0..dc00f28038ea 100644 --- a/synapse/handlers/presence.py +++ b/synapse/handlers/presence.py @@ -102,14 +102,14 @@ # If a user was last active in the last LAST_ACTIVE_GRANULARITY, consider them # "currently_active" -LAST_ACTIVE_GRANULARITY = 5 * 60 * 1000 +LAST_ACTIVE_GRANULARITY = 10 * 60 * 1000 # How long to wait until a new /events or /sync request before assuming # the client has gone. SYNC_ONLINE_TIMEOUT = 30 * 1000 # How long to wait before marking the user as idle. Compared against last active -IDLE_TIMER = 10 * 60 * 1000 +IDLE_TIMER = 12 * 60 * 1000 # How often we expect remote servers to resend us presence. FEDERATION_TIMEOUT = 30 * 60 * 1000