diff options
| author | Andrew Godwin <andrew@aeracode.org> | 2020-04-13 23:26:16 -0600 |
|---|---|---|
| committer | Mariusz Felisiak <felisiak.mariusz@gmail.com> | 2020-04-14 07:27:05 +0200 |
| commit | d292d1163e15ceb3d69e3693e13a722ed93c4383 (patch) | |
| tree | f28e797d79e546cf1f08b2b4132f5efa745d373d | |
| parent | eeab4ab82e0422855a5c454a600730c538b256cd (diff) | |
[3.0.x] Refs #31224 -- Removed incorrect @sync_to_async(thread_sensitive=True) example.
It does not support thread_sensitive when used as a decorator, yet.
Backport of b5ad450fa6d53186b68f89a4507fdbabc8900f74 from master
| -rw-r--r-- | docs/topics/async.txt | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/docs/topics/async.txt b/docs/topics/async.txt index b502e6b65b..b8f05c2e99 100644 --- a/docs/topics/async.txt +++ b/docs/topics/async.txt @@ -120,10 +120,6 @@ in its place. Can be used as either a direct wrapper or a decorator:: def sync_function(...): ... - @sync_to_async(thread_sensitive=True) - def sensitive_sync_function(...): - ... - Threadlocals and contextvars values are preserved across the boundary in both directions. |
