36fa071d6e
By using a asgiref's ThreadSensitiveContext context manager, requests will be able to execute independently of other requests when sync work is involved. Prior to this commit, a single global thread was used to execute any sync work independent of the request from which that work was scheduled. This could result in contention for the global sync thread in the case of a slow sync function. Requests are now isolated to their own sync thread. |
||
---|---|---|
.. | ||
project/static | ||
__init__.py | ||
tests.py | ||
urls.py |