summary refs log tree commit diff
path: root/synapse/crypto
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2018-01-16 11:47:36 +0000
committerRichard van der Hoff <richard@matrix.org>2018-01-16 11:47:36 +0000
commit64ddec1bc0a1d23a285d560e34986441b3f8c854 (patch)
treec4afa270e8c667dc295c41d781625be541daeb7b /synapse/crypto
parentMerge pull request #2778 from matrix-org/rav/counters_should_be_floats (diff)
downloadsynapse-64ddec1bc0a1d23a285d560e34986441b3f8c854.tar.xz
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)
Diffstat (limited to 'synapse/crypto')
0 files changed, 0 insertions, 0 deletions