MatrixSynapse/synapse
Eric Eastwood 1b09b0832e
Allow use of both `@trace` and `@tag_args` stacked on the same function (#13453)
```py
@trace
@tag_args
async def get_oldest_event_ids_with_depth_in_room(...)
  ...
```

Before this PR, you would see a warning in the logs and the span was not exported:
```
2022-08-03 19:11:59,383 - synapse.logging.opentracing - 835 - ERROR - GET-0 - @trace may not have wrapped EventFederationWorkerStore.get_oldest_event_ids_with_depth_in_room correctly! The function is not async but returned a coroutine.
```
2022-08-09 14:32:33 -05:00
..
_scripts
api Support stable identifiers for MSC2285: private read receipts. (#13273) 2022-08-05 11:09:33 -04:00
app Revert "Drop support for delegating email validation (#13192)" (#13406) 2022-07-29 10:29:23 +00:00
appservice
config Support stable identifiers for MSC2285: private read receipts. (#13273) 2022-08-05 11:09:33 -04:00
crypto
events Update type of `EventContext.rejected` (#13460) 2022-08-04 17:45:01 +01:00
federation Faster Room Joins: prevent Synapse from answering federated join requests for a room which it has not fully joined yet. (#13416) 2022-08-04 16:27:04 +01:00
handlers Support stable identifiers for MSC2285: private read receipts. (#13273) 2022-08-05 11:09:33 -04:00
http Implement MSC3848: Introduce errcodes for specific event sending failures (#13343) 2022-07-27 13:44:40 +01:00
logging Allow use of both `@trace` and `@tag_args` stacked on the same function (#13453) 2022-08-09 14:32:33 -05:00
metrics Add missing types to opentracing. (#13345) 2022-07-21 12:01:52 +00:00
module_api Update module API "update room membership" method to allow for remote joins (#13441) 2022-08-05 09:37:58 +00:00
push Merge remote-tracking branch 'origin/master' into develop 2022-07-20 14:59:43 +01:00
replication Support stable identifiers for MSC2285: private read receipts. (#13273) 2022-08-05 11:09:33 -04:00
res Disable autocorrect and autocaptialisation when entering username for SSO registration. (#13350) 2022-07-26 08:08:20 +00:00
rest Support stable identifiers for MSC2285: private read receipts. (#13273) 2022-08-05 11:09:33 -04:00
server_notices
spam_checker_api
state Correct a misnamed argument in state res v2 (#13467) 2022-08-08 16:59:56 +01:00
static
storage Support stable identifiers for MSC2285: private read receipts. (#13273) 2022-08-05 11:09:33 -04:00
streams Instrument `/messages` for understandable traces in Jaeger (#13368) 2022-08-03 10:57:38 -05:00
util Optimise async get event lookups (#13435) 2022-08-04 15:49:55 +01:00
__init__.py
event_auth.py Implement MSC3848: Introduce errcodes for specific event sending failures (#13343) 2022-07-27 13:44:40 +01:00
notifier.py
py.typed
server.py
types.py
visibility.py Instrument `/messages` for understandable traces in Jaeger (#13368) 2022-08-03 10:57:38 -05:00