MatrixSynapse/synapse/storage
Richard van der Hoff 64ddec1bc0 Fix a logcontext leak in persist_events
ObserveableDeferred expects its callbacks to be called without any
logcontexts, whereas it turns out we were calling them with the logcontext of
the request which initiated the persistence loop.

It seems wrong that we are attributing work done in the persistence loop to the
request that happened to initiate it, so let's solve this by dropping the
logcontext for it.

(I'm not sure this actually causes any real problems other than messages in the
debug log, but let's clean it up anyway)
2018-01-16 11:47:36 +00:00
..
engines
schema Merge branch 'develop' into matthew/search-all-local-users 2017-11-30 01:51:38 +00:00
util
__init__.py
_base.py Merge branch 'develop' into matthew/search-all-local-users 2017-11-30 01:51:38 +00:00
account_data.py Avoid locking account_data tables for upserts 2017-11-16 18:08:01 +00:00
appservice.py
background_updates.py Check database in has_completed_background_updates 2017-11-22 18:02:15 +00:00
client_ips.py
deviceinbox.py
devices.py
directory.py
end_to_end_keys.py
event_federation.py
event_push_actions.py
events.py Fix a logcontext leak in persist_events 2018-01-16 11:47:36 +00:00
filtering.py
group_server.py
keys.py
media_repository.py Remove dead code related to default thumbnails 2018-01-09 14:38:33 +00:00
openid.py
prepare_database.py
presence.py
profile.py fix StoreError syntax 2017-12-05 11:09:31 +00:00
push_rule.py
pusher.py Avoid locking for upsert on pushers tables 2017-11-16 17:52:23 +00:00
receipts.py
registration.py Remove pushers when deleting access tokens 2017-11-29 16:44:35 +00:00
rejections.py
room.py
roommember.py
search.py
signatures.py
state.py
stream.py
tags.py
transactions.py
user_directory.py fix pep8 and tests 2017-12-04 15:11:38 +00:00