diff options
author | Brendan Abolivier <babolivier@matrix.org> | 2019-11-04 18:09:50 +0000 |
---|---|---|
committer | Brendan Abolivier <babolivier@matrix.org> | 2019-11-04 18:09:50 +0000 |
commit | e252ffadbc1df609d9455e0bfbc68dfe5cd146ee (patch) | |
tree | d52bb449ff87f53597a92ceccf8b5079f520c6eb /synapse/server.py | |
parent | Print out the actual number of affected rows (diff) | |
parent | Remove the psutil dependency (#6318) (diff) | |
download | synapse-e252ffadbc1df609d9455e0bfbc68dfe5cd146ee.tar.xz |
Merge branch 'develop' into babolivier/msc2326_bg_update
Diffstat (limited to 'synapse/server.py')
-rw-r--r-- | synapse/server.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/server.py b/synapse/server.py index f8aeebcff8..90c3b072e8 100644 --- a/synapse/server.py +++ b/synapse/server.py @@ -221,6 +221,7 @@ class HomeServer(object): self.hostname = hostname self._building = {} self._listening_services = [] + self.start_time = None self.clock = Clock(reactor) self.distributor = Distributor() @@ -240,6 +241,7 @@ class HomeServer(object): datastore = self.DATASTORE_CLASS(conn, self) self.datastores = DataStores(datastore, conn, self) conn.commit() + self.start_time = int(self.get_clock().time()) logger.info("Finished setting up.") def setup_master(self): |