-
Does the logging handlers execution configured for uvicorn, let's say a file handler, block the event loop in an ASGI app like FastAPI? or does that run in a different context from the workers? |
Beta Was this translation helpful? Give feedback.
Answered by
angdmz
May 12, 2022
Replies: 1 comment
-
Well, if someone ever reads this, the log handlers you configure are executed by the workers, so if you configure any blocking log, it'll block the server |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
angdmz
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Well, if someone ever reads this, the log handlers you configure are executed by the workers, so if you configure any blocking log, it'll block the server