forked-synapse/tests/storage/databases/main
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
..
__init__.py add a cache to have_seen_event (#9953) 2021-06-01 12:04:47 +01:00
test_deviceinbox.py Improve performance of remove_{hidden,deleted}_devices_from_device_inbox (#11421) 2021-11-25 15:14:54 +00:00
test_events_worker.py Track ongoing event fetches correctly (again) (#11376) 2021-11-26 13:47:24 +00:00
test_lock.py Fix dropping locks on shut down (#10433) 2021-07-20 14:24:25 +01:00
test_room.py Don't drop user dir deltas when server leaves room (#10982) 2021-10-06 12:56:45 +00:00