We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
start_background_tasks
1 parent 1d2ddbc commit b6bafaaCopy full SHA for b6bafaa
synapse/server.py
@@ -613,12 +613,6 @@ def setup(self) -> None:
613
self.datastores = Databases(self.DATASTORE_CLASS, self)
614
logger.info("Finished setting up.")
615
616
- # Register background tasks required by this server. This must be done
617
- # somewhat manually due to the background tasks not being registered
618
- # unless handlers are instantiated.
619
- if self.config.worker.run_background_tasks:
620
- self.start_background_tasks()
621
-
622
# def __del__(self) -> None:
623
# """
624
# Called when an the homeserver is garbage collected.
0 commit comments