synapse/changelog.d/10984.misc
Sean Quah 6a67f3786a
Fix logging context warnings when losing replication connection (#10984)
Instead of triggering `__exit__` manually on the replication handler's
logging context, use it as a context manager so that there is an
`__enter__` call to balance the `__exit__`.
2021-10-15 13:10:58 +01:00

2 lines
130 B
Plaintext

Fix spurious warnings about losing the logging context on the `ReplicationCommandHandler` when losing the replication connection.