mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 09:06:06 -04:00
Add benchmarks for structured logging performance (#6266)
This commit is contained in:
parent
72078e4be5
commit
fdec84aa42
7 changed files with 294 additions and 0 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue