diff options
author | Sean Quah <8349537+squahtx@users.noreply.github.com> | 2021-11-04 10:33:53 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-04 10:33:53 +0000 |
commit | 8eec25a1d9d656905db18a2c62a5552e63db2667 (patch) | |
tree | 46f8ad9f72355ea3947cb3bb93811ee708af5245 /changelog.d/11240.bugfix | |
parent | Add a linearizer on (appservice, stream) when handling ephemeral events. (#11... (diff) | |
download | synapse-8eec25a1d9d656905db18a2c62a5552e63db2667.tar.xz |
Track ongoing event fetches correctly in the presence of failure (#11240)
When an event fetcher aborts due to an exception, `_event_fetch_ongoing` must be decremented, otherwise the event fetcher would never be replaced. If enough event fetchers were to fail, no more events would be fetched and requests would get stuck waiting for events.
Diffstat (limited to 'changelog.d/11240.bugfix')
-rw-r--r-- | changelog.d/11240.bugfix | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/11240.bugfix b/changelog.d/11240.bugfix new file mode 100644 index 0000000000..94d73f67e3 --- /dev/null +++ b/changelog.d/11240.bugfix @@ -0,0 +1 @@ +Fix a long-standing bug where all requests that read events from the database could get stuck as a result of losing the database connection. |