You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if you find any situation will cause the process number increase, please let us know.
It will increase if I open more browsers. There will be no more than 5 processes. I will try to deploy the application to an online environment to see if multiple people can use.
Describe your question
I run the main,options is --port 3000 --workers 1
when I opened a web server ,python process adding two ...
when I closed the web server, web socked was closed. But Two additional process were exists!
Additional context
Each time a websocket connection is established, fastApi should add a thread to maintain the connection.
I want to know why the new python process were created and how to optimize this
The text was updated successfully, but these errors were encountered: