diff options
author | Richard van der Hoff <richard@matrix.org> | 2017-11-14 11:22:42 +0000 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2017-11-14 11:22:42 +0000 |
commit | 7e6fa29cb5ba1abd8b4f3873b0ef171c7c8aba26 (patch) | |
tree | fefec86e319c859109830b7e1a92dfb07574b90d /docs | |
parent | Merge pull request #2668 from turt2live/travis/whoami (diff) | |
download | synapse-7e6fa29cb5ba1abd8b4f3873b0ef171c7c8aba26.tar.xz |
Remove preserve_context_over_{fn, deferred}
Both of these functions ae known to leak logcontexts. Replace the remaining calls to them and kill them off.
Diffstat (limited to 'docs')
-rw-r--r-- | docs/log_contexts.rst | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/docs/log_contexts.rst b/docs/log_contexts.rst index eb1784e700..b19b7fa1ea 100644 --- a/docs/log_contexts.rst +++ b/docs/log_contexts.rst @@ -298,10 +298,6 @@ It can be used like this: # this will now be logged against the request context logger.debug("Request handling complete") -XXX: I think ``preserve_context_over_fn`` is supposed to do the first option, -but the fact that it does ``preserve_context_over_deferred`` on its results -means that its use is fraught with difficulty. - Passing synapse deferreds into third-party functions ---------------------------------------------------- |