mirror of
https://github.com/matrix-org/synapse.git
synced 2025-12-07 10:21:13 +01:00
deploy: 33ae301fee3aac6fec492b8238899cac22e3908d
This commit is contained in:
parent
62ca310ed9
commit
13ae16c9d4
@ -196,7 +196,7 @@ the current log context (as well as providing the <code>LoggingContextFilter</co
|
|||||||
class).</p>
|
class).</p>
|
||||||
<p>Deferreds make the whole thing complicated, so this document describes
|
<p>Deferreds make the whole thing complicated, so this document describes
|
||||||
how it all works, and how to write code which follows the rules.</p>
|
how it all works, and how to write code which follows the rules.</p>
|
||||||
<p>##Logcontexts without Deferreds</p>
|
<h2 id="logcontexts-without-deferreds"><a class="header" href="#logcontexts-without-deferreds">Logcontexts without Deferreds</a></h2>
|
||||||
<p>In the absence of any Deferred voodoo, things are simple enough. As with
|
<p>In the absence of any Deferred voodoo, things are simple enough. As with
|
||||||
any code of this nature, the rule is that our function should leave
|
any code of this nature, the rule is that our function should leave
|
||||||
things as it found them:</p>
|
things as it found them:</p>
|
||||||
|
|||||||
@ -11794,7 +11794,7 @@ the current log context (as well as providing the <code>LoggingContextFilter</co
|
|||||||
class).</p>
|
class).</p>
|
||||||
<p>Deferreds make the whole thing complicated, so this document describes
|
<p>Deferreds make the whole thing complicated, so this document describes
|
||||||
how it all works, and how to write code which follows the rules.</p>
|
how it all works, and how to write code which follows the rules.</p>
|
||||||
<p>##Logcontexts without Deferreds</p>
|
<h2 id="logcontexts-without-deferreds"><a class="header" href="#logcontexts-without-deferreds">Logcontexts without Deferreds</a></h2>
|
||||||
<p>In the absence of any Deferred voodoo, things are simple enough. As with
|
<p>In the absence of any Deferred voodoo, things are simple enough. As with
|
||||||
any code of this nature, the rule is that our function should leave
|
any code of this nature, the rule is that our function should leave
|
||||||
things as it found them:</p>
|
things as it found them:</p>
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
x
Reference in New Issue
Block a user