diff options
author | Erik Johnston <erik@matrix.org> | 2021-01-21 16:31:51 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-21 16:31:51 +0000 |
commit | 12ec55bfaa30bc8040131c23f7c6728e40b21d01 (patch) | |
tree | 48876e0000eff539ae90a46af79625bf473cffa8 /changelog.d | |
parent | Merge remote-tracking branch 'origin/release-v1.26.0' into develop (diff) | |
download | synapse-12ec55bfaa30bc8040131c23f7c6728e40b21d01.tar.xz |
Increase perf of handling concurrent use of StreamIDGenerators. (#9190)
We have seen a failure mode here where if there are many in flight unfinished IDs then marking an ID as finished takes a lot of CPU (as calling deque.remove iterates over the list)
Diffstat (limited to 'changelog.d')
-rw-r--r-- | changelog.d/9190.misc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/9190.misc b/changelog.d/9190.misc new file mode 100644 index 0000000000..1b0cc56a92 --- /dev/null +++ b/changelog.d/9190.misc @@ -0,0 +1 @@ +Improve performance of concurrent use of `StreamIDGenerators`. |