diff options
author | Andrew Morgan <1342360+anoadragon453@users.noreply.github.com> | 2025-01-30 20:48:12 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-30 20:48:12 +0000 |
commit | ac1bf682ff012ee8af5153318eec5d25ed786e90 (patch) | |
tree | fcd293317aec791ec3d39839d9f93dcc447b1079 /synapse/util/async_helpers.py | |
parent | Raise an error if someone is using an incorrect suffix in a config duration s... (diff) | |
download | synapse-ac1bf682ff012ee8af5153318eec5d25ed786e90.tar.xz |
Allow (un)block_room storage functions to be called on workers (#18119)
This is so workers can call these functions. This was preventing the [Delete Room Admin API](https://element-hq.github.io/synapse/latest/admin_api/rooms.html#version-2-new-version) from succeeding when `block: true` was specified. This was because we had `run_background_tasks_on` configured to run on a separate worker. As workers weren't able to call the `block_room` storage function before this PR, the (delete room) task failed when taken off the queue by the worker.
Diffstat (limited to 'synapse/util/async_helpers.py')
0 files changed, 0 insertions, 0 deletions