mirror of
https://github.com/zulip/zulip.git
synced 2025-11-06 15:03:34 +00:00
Add debug for a possible way get_events might forget a request
(imported from commit ca3ac5b942ffdcc8f175cc6b690cb2555e170836)
This commit is contained in:
@@ -14,6 +14,7 @@ import sys
|
|||||||
import signal
|
import signal
|
||||||
import tornado
|
import tornado
|
||||||
import random
|
import random
|
||||||
|
import traceback
|
||||||
from zerver.lib.utils import statsd
|
from zerver.lib.utils import statsd
|
||||||
from zerver.middleware import async_request_restart
|
from zerver.middleware import async_request_restart
|
||||||
|
|
||||||
@@ -72,7 +73,7 @@ class ClientDescriptor(object):
|
|||||||
self.current_handler._request,
|
self.current_handler._request,
|
||||||
apply_markdown=self.apply_markdown)
|
apply_markdown=self.apply_markdown)
|
||||||
except socket.error:
|
except socket.error:
|
||||||
pass
|
traceback.print_exc()
|
||||||
self.disconnect_handler()
|
self.disconnect_handler()
|
||||||
|
|
||||||
def accepts_event_type(self, type):
|
def accepts_event_type(self, type):
|
||||||
|
|||||||
Reference in New Issue
Block a user