Skip to content

Is there a way to detect the main thread during Uvicorn reloads? #1875

Answered by Kludex
browser-bug asked this question in Q&A
Discussion options

You must be logged in to vote

There are two processes: the reloader and the server. The reloading process is not via threads.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@browser-bug
Comment options

@Kludex
Comment options

Answer selected by Kludex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants