summary refs log tree commit diff
path: root/changelog.d
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2020-11-26 11:18:10 +0000
committerGitHub <noreply@github.com>2020-11-26 11:18:10 +0000
commit382b4e83f1e5f4c9c1e233193241db8eb6e6ffa4 (patch)
tree81c6824390112bf3bb72daa30b1ec958691d9aaf /changelog.d
parentStrip trailing / from server_url in register_new_matrix_user (#8823) (diff)
downloadsynapse-382b4e83f1e5f4c9c1e233193241db8eb6e6ffa4.tar.xz
Defer SIGHUP handlers to reactor. (#8817)
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.
Diffstat (limited to 'changelog.d')
-rw-r--r--changelog.d/8817.bugfix1
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/8817.bugfix b/changelog.d/8817.bugfix
new file mode 100644
index 0000000000..e45dbd2ba4
--- /dev/null
+++ b/changelog.d/8817.bugfix
@@ -0,0 +1 @@
+Fix bug where logging could break after a call to SIGHUP.