diff options
author | Andrew Morgan <andrew@amorgan.xyz> | 2019-11-04 18:22:41 +0000 |
---|---|---|
committer | Andrew Morgan <andrew@amorgan.xyz> | 2019-11-04 18:22:41 +0000 |
commit | 506a63de67b63e09b500f377afd8074e25ea0d83 (patch) | |
tree | 2c311b5c243ac8567f27aae7ba1a0dd2a6a0a1cd /synapse/server.py | |
parent | Re-add docstring, with caveats detailed (diff) | |
parent | Remove the psutil dependency (#6318) (diff) | |
download | synapse-506a63de67b63e09b500f377afd8074e25ea0d83.tar.xz |
Merge branch 'develop' of github.com:matrix-org/synapse into anoa/room_upgrade_groups
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): |