summary refs log tree commit diff
path: root/synapse/storage/_base.py
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2016-06-02 15:23:09 +0100
committerMark Haines <mark.haines@matrix.org>2016-06-02 15:23:56 +0100
commit80f34d7b574e1a6b8bc922df41bd53b59260fcf2 (patch)
tree926265a992706ea044ffb95f35d8dd302a56215f /synapse/storage/_base.py
parentDeduplicate presence entries in sync (#818) (diff)
downloadsynapse-80f34d7b574e1a6b8bc922df41bd53b59260fcf2.tar.xz
Fix setting the _clock in SQLBaseStore
Diffstat (limited to 'synapse/storage/_base.py')
-rw-r--r--synapse/storage/_base.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/storage/_base.py b/synapse/storage/_base.py
index 56a0dd80f3..32c6677d47 100644
--- a/synapse/storage/_base.py
+++ b/synapse/storage/_base.py
@@ -152,6 +152,7 @@ class SQLBaseStore(object):
 
     def __init__(self, hs):
         self.hs = hs
+        self._clock = hs.get_clock()
         self._db_pool = hs.get_db_pool()
 
         self._previous_txn_total_time = 0