summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2018-02-23 10:49:58 +0000
committerErik Johnston <erik@matrix.org>2018-02-23 10:49:58 +0000
commit5d0f6658489287dc19ce9e089fc61b06208f3fc4 (patch)
tree64d5080a3f876d3377b25e033991e818df62b526
parent_event_persist_queue shouldn't be in worker store (diff)
downloadsynapse-5d0f6658489287dc19ce9e089fc61b06208f3fc4.tar.xz
Remove redundant clock
-rw-r--r--synapse/storage/events.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/synapse/storage/events.py b/synapse/storage/events.py
index 32da81c47b..f6aa3612e1 100644
--- a/synapse/storage/events.py
+++ b/synapse/storage/events.py
@@ -550,7 +550,6 @@ class EventsStore(EventsWorkerStore):
 
     def __init__(self, db_conn, hs):
         super(EventsStore, self).__init__(db_conn, hs)
-        self._clock = hs.get_clock()
         self.register_background_update_handler(
             self.EVENT_ORIGIN_SERVER_TS_NAME, self._background_reindex_origin_server_ts
         )
@@ -579,8 +578,6 @@ class EventsStore(EventsWorkerStore):
             psql_only=True,
         )
 
-
-
         self._event_persist_queue = _EventPeristenceQueue()
 
         self._state_resolution_handler = hs.get_state_resolution_handler()