Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

DELETE /_synapse/admin/v1/rooms/<room_id> should be an async endpoint #11032

Closed
Twi1ightSparkle opened this issue Oct 8, 2021 · 3 comments
Closed
Labels
T-Enhancement New features, changes in functionality, improvements in performance, or user-facing enhancements.

Comments

@Twi1ightSparkle
Copy link

https://matrix-org.github.io/synapse/latest/admin_api/rooms.html#delete-room-api

Sometimes it takes while to delete rooms resulting in HTTP timeouts. This endpoint should be made async to mitigate this.

@clokep
Copy link
Member

clokep commented Oct 8, 2021

We should do something similar to the purge history API where it returns an ID of some sort and you can then use another API to request a status update on that API, see https://matrix-org.github.io/synapse/latest/admin_api/purge_history_api.html

@clokep clokep added the T-Enhancement New features, changes in functionality, improvements in performance, or user-facing enhancements. label Oct 8, 2021
@dklimpel
Copy link
Contributor

dklimpel commented Oct 8, 2021

It is a dup to #10797

@clokep
Copy link
Member

clokep commented Oct 8, 2021

Good catch!

@clokep clokep closed this as completed Oct 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
T-Enhancement New features, changes in functionality, improvements in performance, or user-facing enhancements.
Projects
None yet
Development

No branches or pull requests

3 participants