Gunicorn multiple workers #97
Unanswered
old-syniex
asked this question in
Q&A
Replies: 1 comment 2 replies
|
Hi, and thanks! Always nice to hear others see it interesting as well! I have made a FastAPI implementation using Uvicorn. Perhaps this helps: https://github.com/Miksus/rocketry-with-fastapi (clone and use it as you wish) I haven't yet tested how it could be integrated with Gunicorn though but I suppose something similar as I did with Uvicorn could work. I at least realized that Uvicorn has its own exiting behaviour in which I had to hook Rocketry. Otherwise, Rocketry has no information that keyboard interruption was called. Do you manage with Uvicorn or did my answer provide any help? Unfortunately, I think pushing the newest update onward takes too much time at the moment to test other things out. |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Hey just found out about this package and it looks awesome.
I am running a FastAPI service with gunicorn.
I was wondering is there a way to make only one of the workers schedule a task?
Thanks
All reactions