summary refs log tree commit diff
path: root/synapse/storage/event_push_actions.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2018-03-01 16:00:05 +0000
committerErik Johnston <erik@matrix.org>2018-03-01 16:00:05 +0000
commit872ff95ed49c9cb30ab5f256c5ff539430e658db (patch)
tree23a7ca09786ce694a310592ae56a8d6c2091d51d /synapse/storage/event_push_actions.py
parentFix comment typo (diff)
downloadsynapse-872ff95ed49c9cb30ab5f256c5ff539430e658db.tar.xz
Default stream_ordering_*_ago to None
Diffstat (limited to 'synapse/storage/event_push_actions.py')
-rw-r--r--synapse/storage/event_push_actions.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/storage/event_push_actions.py b/synapse/storage/event_push_actions.py
index 848d8bd728..7164293568 100644
--- a/synapse/storage/event_push_actions.py
+++ b/synapse/storage/event_push_actions.py
@@ -68,8 +68,8 @@ class EventPushActionsWorkerStore(SQLBaseStore):
         super(EventPushActionsWorkerStore, self).__init__(db_conn, hs)
 
         # These get correctly set by _find_stream_orderings_for_times_txn
-        self.stream_ordering_month_ago = 0
-        self.stream_ordering_day_ago = 0
+        self.stream_ordering_month_ago = None
+        self.stream_ordering_day_ago = None
 
         cur = LoggingTransaction(
             db_conn.cursor(),