summary refs log tree commit diff
path: root/synapse/storage/transactions.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2015-01-06 15:40:38 +0000
committerErik Johnston <erik@matrix.org>2015-01-06 15:40:38 +0000
commitf6da237c353d598946a6c81260653203602800c2 (patch)
tree36c8fb11f4f48932e307663c09eedb8deff617e8 /synapse/storage/transactions.py
parentActually time that function (diff)
downloadsynapse-f6da237c353d598946a6c81260653203602800c2.tar.xz
Add index on transaction_id to sent_transcations
Diffstat (limited to 'synapse/storage/transactions.py')
-rw-r--r--synapse/storage/transactions.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/synapse/storage/transactions.py b/synapse/storage/transactions.py

index 9d14f89303..e06ef35690 100644 --- a/synapse/storage/transactions.py +++ b/synapse/storage/transactions.py
@@ -19,8 +19,6 @@ from collections import namedtuple from twisted.internet import defer -from synapse.util.logutils import time_function - import logging logger = logging.getLogger(__name__) @@ -200,7 +198,6 @@ class TransactionStore(SQLBaseStore): self._get_transactions_after, transaction_id, destination ) - @time_function def _get_transactions_after(cls, txn, transaction_id, destination): where = ( "destination = ? AND id > (select id FROM %s WHERE " @@ -231,7 +228,6 @@ class TransactionStore(SQLBaseStore): "get_destination_retry_timings", self._get_destination_retry_timings, destination) - @time_function def _get_destination_retry_timings(cls, txn, destination): query = DestinationsTable.select_statement("destination = ?") txn.execute(query, (destination,))