MatrixSynapse/synapse
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
..
_scripts
api Annotate string constants in `synapse.api.constants` with `Final` (#11356) 2021-11-25 16:14:23 +00:00
app
appservice
config Rename unstable `access_token_lifetime` configuration option to `refreshable_access_token_lifetime` to make it clear it only concerns refreshable access tokens. (#11388) 2021-11-23 17:01:34 +00:00
crypto
events Refactor the code to inject bundled relations during serialization. (#11408) 2021-11-23 06:43:56 -05:00
federation
groups
handlers Rename unstable `access_token_lifetime` configuration option to `refreshable_access_token_lifetime` to make it clear it only concerns refreshable access tokens. (#11388) 2021-11-23 17:01:34 +00:00
http
logging
metrics
module_api Add missing type hints to config base classes (#11377) 2021-11-23 15:21:19 +00:00
push
replication
res
rest Rename unstable `access_token_lifetime` configuration option to `refreshable_access_token_lifetime` to make it clear it only concerns refreshable access tokens. (#11388) 2021-11-23 17:01:34 +00:00
server_notices
spam_checker_api
state
static
storage Track ongoing event fetches correctly (again) (#11376) 2021-11-26 13:47:24 +00:00
streams
util Merge branch 'master' into develop 2021-11-23 13:06:56 +00:00
__init__.py
event_auth.py
notifier.py
py.typed
python_dependencies.py
server.py
types.py
visibility.py