mirror of
https://github.com/matrix-org/dendrite
synced 2024-11-16 23:00:53 +01:00
4457ebddca
Avoid locking around db requests by only locking around active requests and always creating an active request if there is none. A nice side effect of this is that if many parallel requests for remote media come in (a common case) then only one database query is made for the duration of the query. |
||
---|---|---|
.. | ||
matrix-org/dendrite |