diff options
author | Erik Johnston <erik@matrix.org> | 2018-03-01 16:00:05 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2018-03-01 16:00:05 +0000 |
commit | 872ff95ed49c9cb30ab5f256c5ff539430e658db (patch) | |
tree | 23a7ca09786ce694a310592ae56a8d6c2091d51d /synapse/storage/event_push_actions.py | |
parent | Fix comment typo (diff) | |
download | synapse-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.py | 4 |
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(), |