element-hq / element-hq/synapse

`DELETE /_synapse/admin/v1/rooms/<roomId>` eats lots of CPU

Open
#16,486 1 comment 0 reactions 0 assignees View on GitHub
O-Occasional S-Major T-Defect
Dominant language
Python
Stars
4.6k
Forks
600
Avg merge
5d 22h
Merged PRs (30d)
51

Description

This issue has been migrated from [#16486](https://github.com/matrix-org/synapse/issues/16486).

---

shutting down a big room with `DELETE /_synapse/admin/v1/rooms/` takes hours and chews CPU while it does it.

I think it's creating all the `leave` events (which we do so that we can send them on to clients).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.