summary refs log tree commit diff
path: root/synapse/logging
diff options
context:
space:
mode:
authorAmber Brown <hawkowl@atleastfornow.net>2019-12-03 20:21:25 +1100
committerGitHub <noreply@github.com>2019-12-03 20:21:25 +1100
commitfdec84aa427e2e3b806eb15f462d652f8554cc8d (patch)
treeb19a82452978801a2320daac6e80ff48cf942453 /synapse/logging
parentTransfer power level state events on room upgrade (#6237) (diff)
downloadsynapse-fdec84aa427e2e3b806eb15f462d652f8554cc8d.tar.xz
Add benchmarks for structured logging performance (#6266)
Diffstat (limited to 'synapse/logging')
-rw-r--r--synapse/logging/_terse_json.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/logging/_terse_json.py b/synapse/logging/_terse_json.py
index 05fc64f409..03934956f4 100644
--- a/synapse/logging/_terse_json.py
+++ b/synapse/logging/_terse_json.py
@@ -256,6 +256,7 @@ class TerseJSONToTCPLogObserver(object):
             # transport is the same, just trigger a resumeProducing.
             if self._producer and r.transport is self._producer.transport:
                 self._producer.resumeProducing()
+                self._connection_waiter = None
                 return
 
             # If the producer is still producing, stop it.