mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-24 18:45:52 +03:00
log_contexts.rst: fix typos
This commit is contained in:
parent
d2d146a314
commit
d78d08981a
1 changed files with 2 additions and 2 deletions
|
@ -331,7 +331,7 @@ gathered:
|
|||
result = yield defer.gatherResults([d1, d2])
|
||||
|
||||
In this case particularly, though, option two, of using
|
||||
``logcontext.preserve.fn`` almost certainly makes more sense, so that
|
||||
``logcontext.preserve_fn`` almost certainly makes more sense, so that
|
||||
``operation1`` and ``operation2`` are both logged against the original
|
||||
logcontext. This looks like:
|
||||
|
||||
|
@ -355,7 +355,7 @@ follow for any more exotic flows. It's hard not to wonder if we could have done
|
|||
something else.
|
||||
|
||||
We're not going to rewrite Synapse now, so the following is entirely of
|
||||
acadamic interest, but I'd like to record some thoughts on an alternative
|
||||
academic interest, but I'd like to record some thoughts on an alternative
|
||||
approach.
|
||||
|
||||
I briefly prototyped some code following an alternative set of rules. I think
|
||||
|
|
Loading…
Reference in a new issue