summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorDavid Baker <dave@matrix.org>2016-05-20 17:59:10 +0100
committerDavid Baker <dave@matrix.org>2016-05-20 17:59:10 +0100
commitccffb0965de8a567ba56eeae5c16945921268802 (patch)
tree1b1edeec8f0455fc366ae6c43f772b0613c54305 /synapse
parentHandle empty events table (diff)
downloadsynapse-ccffb0965de8a567ba56eeae5c16945921268802.tar.xz
Remove stale line
Diffstat (limited to 'synapse')
-rw-r--r--synapse/storage/event_push_actions.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/synapse/storage/event_push_actions.py b/synapse/storage/event_push_actions.py
index d630a846c9..cb38d5f525 100644
--- a/synapse/storage/event_push_actions.py
+++ b/synapse/storage/event_push_actions.py
@@ -245,8 +245,6 @@ class EventPushActionsStore(SQLBaseStore):
             (room_id, user_id, )
         )
 
-        threshold = self._clock.time_msec() - KEEP_PUSH_ACTIONS_FOR_MS
-
         # We need to join on the events table to get the received_ts for
         # event_push_actions and sqlite won't let us use a join in a delete so
         # we can't just delete where received_ts < x. Furthermore we can