summary refs log tree commit diff
path: root/synapse/logging/handlers.py
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/logging/handlers.py')
-rw-r--r--synapse/logging/handlers.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/logging/handlers.py b/synapse/logging/handlers.py
index a6c212f300..af5fc407a8 100644
--- a/synapse/logging/handlers.py
+++ b/synapse/logging/handlers.py
@@ -45,6 +45,7 @@ class PeriodicallyFlushingMemoryHandler(MemoryHandler):
         self._flushing_thread: Thread = Thread(
             name="PeriodicallyFlushingMemoryHandler flushing thread",
             target=self._flush_periodically,
+            daemon=True,
         )
         self._flushing_thread.start()