1
0
Eric Eastwood
2025-10-13 14:39:17 -05:00
parent 74c5e64dd2
commit c1d89d89b5

View File

@@ -640,9 +640,6 @@ class HomeServer(metaclass=abc.ABCMeta):
Some handlers have side effects on instantiation (like registering
background updates). This function causes them to be fetched, and
therefore instantiated, to run those side effects.
We assume these background tasks are only run on a single Synapse instance at a
time.
"""
for i in self.REQUIRED_ON_BACKGROUND_TASK_STARTUP:
getattr(self, "get_" + i + "_handler")()