synapse-product/synapse/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
state Fix remove_stale_pushers job on SQLite. (#10843) 2021-09-20 10:26:13 +01:00
__init__.py Add type hints for most HomeServer parameters (#11095) 2021-10-22 18:15:41 +01:00