diff options
author | Richard van der Hoff <richard@matrix.org> | 2018-01-16 11:47:36 +0000 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2018-01-16 11:47:36 +0000 |
commit | 64ddec1bc0a1d23a285d560e34986441b3f8c854 (patch) | |
tree | c4afa270e8c667dc295c41d781625be541daeb7b /res | |
parent | Merge pull request #2778 from matrix-org/rav/counters_should_be_floats (diff) | |
download | synapse-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 'res')
0 files changed, 0 insertions, 0 deletions