Is there a way to detect the main thread during Uvicorn reloads? #1875
Answered
by
Kludex
browser-bug
asked this question in
Q&A
-
Hello, I'm looking for a way to detect the main thread during Uvicorn reloads. As well explained here https://stackoverflow.com/questions/62766539/uvicorn-detect-reload-main-thread , is there something like |
Beta Was this translation helpful? Give feedback.
Answered by
Kludex
Feb 27, 2023
Replies: 1 comment 2 replies
-
There are two processes: the reloader and the server. The reloading process is not via threads. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
Kludex
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There are two processes: the reloader and the server. The reloading process is not via threads.