mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-06-21 09:04:08 -04:00
Allow background tasks to be run on a separate worker. (#8369)
This commit is contained in:
parent
462e681c79
commit
62894673e6
19 changed files with 537 additions and 449 deletions
|
@ -276,7 +276,7 @@ def setup_test_homeserver(
|
|||
|
||||
hs.setup()
|
||||
if homeserverToUse.__name__ == "TestHomeServer":
|
||||
hs.setup_master()
|
||||
hs.setup_background_tasks()
|
||||
|
||||
if isinstance(db_engine, PostgresEngine):
|
||||
database = hs.get_datastores().databases[0]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue