Skip to content
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

Add watchgod for uvicorn #2575

Merged
merged 1 commit into from
Apr 30, 2020
Merged

Conversation

Andrew-Chen-Wang
Copy link
Contributor

@Andrew-Chen-Wang Andrew-Chen-Wang commented Apr 29, 2020

Description

Use watchgod as recommended by Uvicorn for more efficient reloading when using async.

This is supported since Uvicorn 0.11.4.

Rationale

Decrease CPU during development

Also, gunicorn and uvicorn requirements are now properly reorganized according to #2572

Use case(s) / visualization(s)

Mostly used for those working asynchronously or with websockets or simply wanting to use ASGI which is faster than WSGI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants