We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6878e10 commit 903db99Copy full SHA for 903db99
changelog.d/10517.bugfix
@@ -0,0 +1 @@
1
+Fix the `PeriodicallyFlushingMemoryHandler` inhibiting application shutdown because of its background thread.
synapse/logging/handlers.py
@@ -45,6 +45,7 @@ def __init__(
45
self._flushing_thread: Thread = Thread(
46
name="PeriodicallyFlushingMemoryHandler flushing thread",
47
target=self._flush_periodically,
48
+ daemon=True,
49
)
50
self._flushing_thread.start()
51
0 commit comments