summary refs log tree commit diff
path: root/docs/log_contexts.rst (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Factor run_in_background out from preserve_fnRichard van der Hoff2018-03-081-4/+4
| | | | | It annoys me that we create temporary function objects when there's really no need for it. Let's factor the gubbins out of preserve_fn and start using it.
* Remove preserve_context_over_{fn, deferred}Richard van der Hoff2017-11-141-4/+0
| | | | | Both of these functions ae known to leak logcontexts. Replace the remaining calls to them and kill them off.
* Fix the logcontext handling in the cache wrappers (#2077)Richard van der Hoff2017-03-301-3/+8
| | | | | | | The cache wrappers had a habit of leaking the logcontext into the reactor while the lookup function was running, and then not restoring it correctly when the lookup function had completed. It's all the fault of `preserve_context_over_{fn,deferred}` which are basically a bit broken.
* log_contexts.rst: fix formatting of Note blockRichard van der Hoff2017-03-201-6/+6
| | | | Apparently the github RST renderer doesn't like Note blocks.
* log_contexts.rst: fix typosRichard van der Hoff2017-03-181-2/+2
|
* Logcontext docsRichard van der Hoff2017-03-171-8/+439
|
* starting point for doc on how log contexts are supposed to workMatthew Hodgson2016-05-041-0/+10