mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-03 08:44:49 -04:00
fixup
This commit is contained in:
parent
d306bd1b26
commit
797b6a63fc
4 changed files with 17 additions and 75 deletions
|
@ -226,6 +226,11 @@ class HomeServer(object):
|
|||
logger.info("Finished setting up.")
|
||||
|
||||
def setup_master(self):
|
||||
"""
|
||||
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.
|
||||
"""
|
||||
for i in self.REQUIRED_ON_MASTER_STARTUP:
|
||||
getattr(self, "get_" + i)()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue