anonymousland-synapse/tests/storage/databases
Sean Quah c675a18071
Track ongoing event fetches correctly (again) (#11376)
The previous fix for the ongoing event fetches counter
(8eec25a1d9) was both insufficient and
incorrect.

When the database is unreachable, `_do_fetch` never gets run and so
`_event_fetch_ongoing` is never decremented.

The previous fix also moved the `_event_fetch_ongoing` decrement outside
of the `_event_fetch_lock` which allowed race conditions to corrupt the
counter.
2021-11-26 13:47:24 +00:00
..
main Track ongoing event fetches correctly (again) (#11376) 2021-11-26 13:47:24 +00:00
__init__.py add a cache to have_seen_event (#9953) 2021-06-01 12:04:47 +01:00