diff options
author | Eric Eastwood <erice@element.io> | 2023-05-23 12:26:25 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-23 12:26:25 -0500 |
commit | 379eb2d7abc8e3215cc9fd14deefb975137c9494 (patch) | |
tree | 1aa94d1c9f38e37fba464fd48e1e2db172c648a0 | |
parent | Consolidate logic to check for deactivated users. (#15634) (diff) | |
download | synapse-379eb2d7abc8e3215cc9fd14deefb975137c9494.tar.xz |
Fix `@trace` not wrapping some state methods that return coroutines correctly (#15647)
``` 2023-05-21 09:30:09,288 - synapse.logging.opentracing - 940 - ERROR - POST-1 - @trace may not have wrapped StateStorageController.get_state_for_groups correctly! The function is not async but returned a coroutine ``` Tracing instrumentation for these functions originally introduced in https://github.com/matrix-org/synapse/pull/15610
-rw-r--r-- | changelog.d/15647.bugfix | 1 | ||||
-rw-r--r-- | synapse/storage/controllers/state.py | 15 |
2 files changed, 9 insertions, 7 deletions
diff --git a/changelog.d/15647.bugfix b/changelog.d/15647.bugfix new file mode 100644 |