summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2017-02-22 14:23:54 +0000
committerErik Johnston <erik@matrix.org>2017-02-22 14:24:02 +0000
commitb2d20e94fa0a2efa84a084ddededb52d89af64c6 (patch)
tree91fc9b1d5a5975edbad65c5f7a267d72d7e15aad
parentEnsure we pass positive ints to delay function (diff)
downloadsynapse-b2d20e94fa0a2efa84a084ddededb52d89af64c6.tar.xz
Remove lock from rotate notifs
-rw-r--r--synapse/storage/event_push_actions.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/synapse/storage/event_push_actions.py b/synapse/storage/event_push_actions.py
index cde141e20d..14543b4269 100644
--- a/synapse/storage/event_push_actions.py
+++ b/synapse/storage/event_push_actions.py
@@ -638,9 +638,6 @@ class EventPushActionsStore(SQLBaseStore):
         the archiving process has caught up or not.
         """
 
-        # We want to make sure that we only ever do this one at a time
-        self.database_engine.lock_table(txn, "event_push_summary")
-
         old_rotate_stream_ordering = self._simple_select_one_onecol_txn(
             txn,
             table="event_push_summary_stream_ordering",