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:28:56 +0000
committerErik Johnston <erik@matrix.org>2015-01-06 15:28:56 +0000
commit9bd07bed238337151ae79dc948f49cdf7141578c (patch)
tree31de590f5b710771ac2d4e727e02fbd58a2d5019 /synapse/storage/transactions.py
parentTime how long calls to _get_destination_retry_timings take (diff)
downloadsynapse-9bd07bed238337151ae79dc948f49cdf7141578c.tar.xz
Actually time that function
Diffstat (limited to 'synapse/storage/transactions.py')
-rw-r--r--synapse/storage/transactions.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/storage/transactions.py b/synapse/storage/transactions.py
index 36ddf30d65..9d14f89303 100644
--- a/synapse/storage/transactions.py
+++ b/synapse/storage/transactions.py
@@ -200,6 +200,7 @@ 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 "