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 /synapse/util/async_helpers.py | |
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 'synapse/util/async_helpers.py')
0 files changed, 0 insertions, 0 deletions