summary refs log tree commit diff
path: root/synapse/util/async_helpers.py
diff options
context:
space:
mode:
authorSean Quah <8349537+squahtx@users.noreply.github.com>2021-11-04 10:33:53 +0000
committerGitHub <noreply@github.com>2021-11-04 10:33:53 +0000
commit8eec25a1d9d656905db18a2c62a5552e63db2667 (patch)
tree46f8ad9f72355ea3947cb3bb93811ee708af5245 /synapse/util/async_helpers.py
parentAdd a linearizer on (appservice, stream) when handling ephemeral events. (#11... (diff)
downloadsynapse-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