nothreading use single threaded
阅读原文时间:2023年07月08日阅读:1

threading:

 

# ThreadingMixIn.daemon_threads indicates how threads will behave on an

 

# abrupt shutdown; like quitting the server by the user or restarting

 

# by the auto-reloader. True means the server will not wait for thread

 

# termination before it quits. This will make auto-reloader faster

 

# and will prevent the need to kill the server manually if a thread

 

# isn't terminating correctly.

Fixed #30619 -- Made runserver --nothreading use single threaded WSGI… · django/django@a9c6ab0 https://github.com/django/django/commit/a9c6ab03560424ed7dff24849c8ddaa3e1eae62e