From ac636f3c48f537b55abff6e2e6a80d8f2f40f30d Mon Sep 17 00:00:00 2001 From: Alex Vandiver Date: Fri, 26 Sep 2025 04:40:16 +0000 Subject: [PATCH] tornado: Trial Flutter having 12-hour-long queue lifespan. --- zerver/tornado/django_api.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/zerver/tornado/django_api.py b/zerver/tornado/django_api.py index a85014992e..fb6c58eba4 100644 --- a/zerver/tornado/django_api.py +++ b/zerver/tornado/django_api.py @@ -104,6 +104,9 @@ def request_event_queue( # database. get_user_profile_narrow_by_id(user_profile.id) + if user_client.name == "ZulipFlutter" and queue_lifespan_secs == 0: + queue_lifespan_secs = 12 * 60 * 60 # Test 12-hour-long GCs for Flutter + tornado_url = get_tornado_url(get_user_tornado_port(user_profile)) req = { "dont_block": "true",