diff options
author | Sean Quah <8349537+squahtx@users.noreply.github.com> | 2021-12-07 11:41:31 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-07 11:41:31 +0000 |
commit | eccc49d7554d1fab001e1fefb0fda8ffb254b630 (patch) | |
tree | 1fee6bcbab0aa116820614961a9b275839b47b7a /changelog.d/11524.bugfix | |
parent | Fix 'delete room' admin api to work on incomplete rooms (#11523) (diff) | |
download | synapse-eccc49d7554d1fab001e1fefb0fda8ffb254b630.tar.xz |
Fix `ModuleApi.looping_background_call` for non-async functions (#11524)
After #10847, `looping_background_call` would print an error in the logs every time a non-async function was called. Since the error would be caught and ignored immediately, there were no other side effects.
Diffstat (limited to 'changelog.d/11524.bugfix')
-rw-r--r-- | changelog.d/11524.bugfix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/11524.bugfix b/changelog.d/11524.bugfix new file mode 100644 index 0000000000..6e1e4bd44c --- /dev/null +++ b/changelog.d/11524.bugfix @@ -0,0 +1 @@ +Fix a regression in Synapse 1.48.0 where the module API's `looping_background_call` method would spam errors to the logs when given a non-async function. |