Return to failing clients immediately the first time.

(imported from commit b29df3165030ffd95dfe89b6471aeb74c06b6126)
This commit is contained in:
Tim Abbott
2012-10-25 17:53:07 -04:00
parent 5b4816eb55
commit f2c6347471

View File

@@ -373,7 +373,7 @@ def return_messages_immediately(request, user_profile, **kwargs):
and ptr != client_pointer):
new_pointer = ptr
if (failures >= 4
if (failures >= 1
or client_needs_reload
or new_pointer is not None):
return format_updates_response(user_profile=user_profile,