diff options
author | Sean Quah <8349537+squahtx@users.noreply.github.com> | 2021-10-15 13:10:58 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-15 13:10:58 +0100 |
commit | 6a67f3786a73f72739ebe8e5aca372c39626d768 (patch) | |
tree | 02c946b296961960f7e9335408c0d256d6d59e41 /changelog.d | |
parent | Update doc of the allowed characters for registration tokens (#11093) (diff) | |
download | synapse-6a67f3786a73f72739ebe8e5aca372c39626d768.tar.xz |
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__`.
Diffstat (limited to 'changelog.d')
-rw-r--r-- | changelog.d/10984.misc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/10984.misc b/changelog.d/10984.misc new file mode 100644 index 0000000000..86c4081cc4 --- /dev/null +++ b/changelog.d/10984.misc @@ -0,0 +1 @@ +Fix spurious warnings about losing the logging context on the `ReplicationCommandHandler` when losing the replication connection. |