Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Support for custom gunicorn workers #20

Closed
wants to merge 1 commit into from

Conversation

andreportela
Copy link

This PR should make it is easy to use uvicorn.workers.UvicornH11Worker or any other custom worker for that matter while still keeping backwards compatibility.

This way it is easy to use uvicorn.workers.UvicornH11Worker or any other custom worker for that matter.
@andreportela andreportela requested a review from tiangolo February 3, 2020 13:11
@ssafty
Copy link

ssafty commented Feb 11, 2020

I have the same problem as in fastapi/fastapi#680 ... this PR would help.

@andreportela
Copy link
Author

Hi @tiangolo, do you have any comments on this pr?

@tiangolo
Copy link
Owner

Thanks for your contribution @andreportela ! 🍰

So, this PR would add the config only for the Python 3.7 image, not for the others... but related to that, I realized that there was too much code duplication, so I refactored the whole setup of this repo to make it easier to add a change like this that affects all the images.

Then on top of that, I added a new PR adding extra configs, docs, and tests, including this 🎉

#38

Given that, I'll close this now, but thanks for your effort! 🚀

@tiangolo tiangolo closed this Apr 27, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants