Parse SYNAPSE_ASYNC_IO_REACTOR env variable & log the reactor on startup (#14092)

This commit is contained in:
Quentin Gliech 2022-10-07 16:19:59 +02:00 committed by GitHub
parent 8faf7245fd
commit dc37b68a25
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 16 additions and 14 deletions

View file

@ -326,6 +326,8 @@ def setup_logging(
logBeginner: The Twisted logBeginner to use.
"""
from twisted.internet import reactor
log_config_path = (
config.worker.worker_log_config
if use_worker_options
@ -348,3 +350,4 @@ def setup_logging(
)
logging.info("Server hostname: %s", config.server.server_name)
logging.info("Instance name: %s", hs.get_instance_name())
logging.info("Twisted reactor: %s", type(reactor).__name__)