mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-29 07:28:55 +03:00
382b4e83f1
We can get a SIGHUP at any point, including times where we are not in a sane state. By deferring calling the handlers until the next reactor tick we ensure that we don't get unexpected conflicts, e.g. trying to flush logs from the signal handler while the code was in the process of writing a log entry. Fixes #8769.
1 line
58 B
Text
1 line
58 B
Text
Fix bug where logging could break after a call to SIGHUP.
|