diff options
author | Erik Johnston <erik@matrix.org> | 2016-01-26 15:51:06 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2016-01-26 15:51:06 +0000 |
commit | 87f9477b105b4e8216d1df186492ec6d9872967f (patch) | |
tree | 5eefd8f026e35a6e0e8ffb3308ea1a0e33ed80a4 /synapse/storage/events.py | |
parent | Remove redundated BaseHomeServer (diff) | |
download | synapse-87f9477b105b4e8216d1df186492ec6d9872967f.tar.xz |
Add a Homeserver.setup method.
This is for setting up dependencies that require work on startup. This is useful for the DataStore that wants to read a bunch from the database before initiliazing.
Diffstat (limited to 'synapse/storage/events.py')
-rw-r--r-- | synapse/storage/events.py | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/synapse/storage/events.py b/synapse/storage/events.py |