mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-07 16:35:05 -04:00
Parse SYNAPSE_ASYNC_IO_REACTOR env variable & log the reactor on startup (#14092)
This commit is contained in:
parent
8faf7245fd
commit
dc37b68a25
3 changed files with 16 additions and 14 deletions
|
@ -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__)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue