mirror of
https://github.com/zulip/zulip.git
synced 2025-11-16 11:52:01 +00:00
Return to failing clients immediately the first time.
(imported from commit b29df3165030ffd95dfe89b6471aeb74c06b6126)
This commit is contained in:
@@ -373,7 +373,7 @@ def return_messages_immediately(request, user_profile, **kwargs):
|
|||||||
and ptr != client_pointer):
|
and ptr != client_pointer):
|
||||||
new_pointer = ptr
|
new_pointer = ptr
|
||||||
|
|
||||||
if (failures >= 4
|
if (failures >= 1
|
||||||
or client_needs_reload
|
or client_needs_reload
|
||||||
or new_pointer is not None):
|
or new_pointer is not None):
|
||||||
return format_updates_response(user_profile=user_profile,
|
return format_updates_response(user_profile=user_profile,
|
||||||
|
|||||||
Reference in New Issue
Block a user