synapse-product/changelog.d/11240.bugfix
Sean Quah 8eec25a1d9
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.
2021-11-04 10:33:53 +00:00

2 lines
141 B
Plaintext

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.