MatrixSynapse/synapse
Erik Johnston 382b4e83f1
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.
2020-11-26 11:18:10 +00:00
..
_scripts
api
app Defer SIGHUP handlers to reactor. (#8817) 2020-11-26 11:18:10 +00:00
appservice
config
crypto
events
federation
groups
handlers
http
logging
metrics
module_api
push
replication
res/templates
rest
server_notices
spam_checker_api
state
static
storage
streams
util
__init__.py
event_auth.py
notifier.py
python_dependencies.py
secrets.py
server.py
types.py
visibility.py