diff options
author | Erik Johnston <erik@matrix.org> | 2015-01-06 15:28:56 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2015-01-06 15:28:56 +0000 |
commit | 9bd07bed238337151ae79dc948f49cdf7141578c (patch) | |
tree | 31de590f5b710771ac2d4e727e02fbd58a2d5019 | |
parent | Time how long calls to _get_destination_retry_timings take (diff) | |
download | synapse-9bd07bed238337151ae79dc948f49cdf7141578c.tar.xz |
Actually time that function
Diffstat (limited to '')
-rw-r--r-- | synapse/storage/transactions.py | 1 |
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 " |