diff options
author | Jorik Schellekens <joriks@matrix.org> | 2019-07-04 14:24:39 +0100 |
---|---|---|
committer | Jorik Schellekens <joriks@matrix.org> | 2019-07-23 16:04:02 +0100 |
commit | 7ae7e796ff3b77c865a843ff36b4fd479be41dd9 (patch) | |
tree | dfeb07d791dd6d9b4ca36c60c086dd13bf14d1a4 | |
parent | How did that half of the statement get deleted? (diff) | |
download | synapse-7ae7e796ff3b77c865a843ff36b4fd479be41dd9.tar.xz |
These functions were not deferreds!
-rw-r--r-- | synapse/rest/client/v2_alpha/sendtodevice.py | 2 | ||||
-rw-r--r-- | synapse/storage/deviceinbox.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/synapse/rest/client/v2_alpha/sendtodevice.py b/synapse/rest/client/v2_alpha/sendtodevice.py index 9df38a8f5e..d58291fc85 100644 --- a/synapse/rest/client/v2_alpha/sendtodevice.py +++ b/synapse/rest/client/v2_alpha/sendtodevice.py @@ -43,7 +43,7 @@ class SendToDeviceRestServlet(servlet.RestServlet): self.txns = HttpTransactionCache(hs) self.device_message_handler = hs.get_device_message_handler() - @tracerutils.trace_defered_function_using_operation_name("sendToDevice") + @tracerutils.trace_function_using_operation_name("sendToDevice") def on_PUT(self, request, message_type, txn_id): tracerutils.set_tag("message_type", message_type) tracerutils.set_tag("txn_id", txn_id) diff --git a/synapse/storage/deviceinbox.py b/synapse/storage/deviceinbox.py index 8687b5a046..6011312af9 100644 --- a/synapse/storage/deviceinbox.py +++ b/synapse/storage/deviceinbox.py @@ -127,7 +127,7 @@ class DeviceInboxWorkerStore(SQLBaseStore): return count - @tracerutils.trace_defered_function + @tracerutils.trace_function def get_new_device_msgs_for_remote( self, destination, last_stream_id, current_stream_id, limit ): |