1
0

Merge pull request #4734 from matrix-org/rav/repl_debug

Add some debug to help with #4733
This commit is contained in:
Erik Johnston
2019-02-25 15:52:45 +00:00
committed by GitHub
2 changed files with 4 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
Add some debug to help with #4733.
+3
View File
@@ -52,6 +52,7 @@ indicate which side is sending, these are *not* included on the wire::
import fcntl
import logging
import struct
import traceback
from collections import defaultdict
from six import iteritems, iterkeys
@@ -323,6 +324,8 @@ class BaseReplicationStreamProtocol(LineOnlyReceiver):
we or the remote has closed the connection)
"""
logger.info("[%s] Stop producing", self.id())
# debug for #4733
logger.info("Traceback: %s", "".join(traceback.format_stack()))
self.on_connection_closed()
def connectionLost(self, reason):