We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d548be6 commit 02d29eaCopy full SHA for 02d29ea
README.md
@@ -27,7 +27,7 @@ Maintains global dictionary of executors (`concurrent.futures.ThreadPoolExecutor
27
import django_threaded_sync_to_async
28
29
@django_threaded_sync_to_async.SharedExecutor("common", max_workers=3, max_tasks=2)
30
-def operations():
+async def operations():
31
a = asgiref.sync.sync_to_async(long_call)(1)
32
b = asgiref.sync.sync_to_async(long_call)(2)
33
c = asgiref.sync.sync_to_async(long_call)(3)
0 commit comments