diff options
author | Waylon Cude <waylon531@gmail.com> | 2020-11-23 07:20:49 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-23 15:20:49 +0000 |
commit | 7127855741faaf9544339db4faa7d25b0158fdfc (patch) | |
tree | 357541dba49592d7654225d5eba7278a184826d7 /changelog.d | |
parent | Improve logging of the mapping from SSO IDs to Matrix IDs. (#8773) (diff) | |
download | synapse-7127855741faaf9544339db4faa7d25b0158fdfc.tar.xz |
Fix synctl and duplicate worker spawning (#8798)
Synctl did not check if a worker thread was already running when using `synctl start` and would naively start a fresh copy. This would sometimes lead to cases where many duplicate copies of a single worker would run. This fix adds a pid check when starting worker threads and synctl will now refuse to start individual workers if they're already running.
Diffstat (limited to 'changelog.d')
-rw-r--r-- | changelog.d/8798.bugfix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/8798.bugfix b/changelog.d/8798.bugfix new file mode 100644 index 0000000000..9bdb2b51ea --- /dev/null +++ b/changelog.d/8798.bugfix @@ -0,0 +1 @@ +Fix a bug where synctl could spawn duplicate copies of a worker. Contributed by Waylon Cude. |