Skip to content

Commit 623a748

Browse files
committed
Update comment with actual learnings from #19057
1 parent 6021656 commit 623a748

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

synapse/app/homeserver.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -430,9 +430,7 @@ async def _start_when_reactor_running() -> None:
430430

431431
await _base.start(hs, freeze)
432432

433-
# TODO: This should be moved to `SynapseHomeServer.start_background_tasks` (not
434-
# `HomeServer.start_background_tasks`) (this way it matches the behavior of only
435-
# running on `main`)
433+
# TODO: Feels like this should be moved somewhere else.
436434
hs.get_datastores().main.db_pool.updates.start_doing_background_updates()
437435

438436
# Register a callback to be invoked once the reactor is running

0 commit comments

Comments
 (0)