diff options
author | Amber Brown <hawkowl@atleastfornow.net> | 2019-03-13 01:17:51 +1100 |
---|---|---|
committer | Amber Brown <hawkowl@atleastfornow.net> | 2019-03-13 01:17:51 +1100 |
commit | 797b6a63fc5f8cb70d15ca0b98e871a57e712f0c (patch) | |
tree | 6828454eb6ac3ba39e606c9b930be8285143e54c /synapse/server.py | |
parent | fixup (diff) | |
download | synapse-797b6a63fc5f8cb70d15ca0b98e871a57e712f0c.tar.xz |
fixup
Diffstat (limited to 'synapse/server.py')
-rw-r--r-- | synapse/server.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/synapse/server.py b/synapse/server.py index c992bbaa5f..b9549dd042 100644 --- a/synapse/server.py +++ b/synapse/server.py @@ -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)() |