-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
question: running ProcessPoolExecutor inside web-app served by hypercorn #191
Comments
A little update: But I would like to keep hypercorn as I use quart framework. Is there a way to run hypercorn as a single process, without spawning a worker? I don't need multiple workers. |
@pgjones Looks like Hypercorn worker processes are by default run with Is there any reason why worker processes need to be |
@konstantin-baidin-y42 Were you able to workaround this issue? |
Finally, I just switched my service to |
Hello, attempt to use ProcessPoolExecutor leads to
ThreadPoolExecutor could work here, but it doesn't suit me, because I have a CPU-bound heavy function, so it must be a separate process instead of a thread.
Example of application:
Is there a way to use ProcessPoolExecutor in the web-apps served by hypercorn?
The text was updated successfully, but these errors were encountered: