diff options
author | Erik Johnston <erik@matrix.org> | 2023-03-07 08:51:34 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-07 08:51:34 +0000 |
commit | c69aae94cda9b62b2a82584b2f5ee72a95feb435 (patch) | |
tree | ab8705c1a4dcedad60e21651f52d9f44ebf4352d /changelog.d/15215.misc | |
parent | Pass the requester during event serialization. (#15174) (diff) | |
download | synapse-c69aae94cda9b62b2a82584b2f5ee72a95feb435.tar.xz |
Split up txn for fetching device keys (#15215)
We look up keys in batches, but we should do that outside of the transaction to avoid starving the database pool.
Diffstat (limited to 'changelog.d/15215.misc')
-rw-r--r-- | changelog.d/15215.misc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/15215.misc b/changelog.d/15215.misc new file mode 100644 index 0000000000..fe52a56a7e --- /dev/null +++ b/changelog.d/15215.misc @@ -0,0 +1 @@ +Refactor database transaction for query users' devices to reduce database pool contention. |