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

reduces the amount of uvicorn workers to 2 #15

Merged
merged 1 commit into from
Jan 28, 2024

Conversation

GabrielBarberini
Copy link
Collaborator

Simply reduces the amount of Uvicorn workers to half the current amount.

I have a feeling this might increase performance since we are running a very lightweight app in a very low-capacity machine, which could mean the memory consumed by a single Uvicorn worker could be relatively high.

Copy link
Member

@Gui-FernandesBR Gui-FernandesBR left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I understood this PR reduces the number of unicorn workers from 4 to 2.

LGTM.

@GabrielBarberini GabrielBarberini merged commit 2ca2c09 into master Jan 28, 2024
3 checks passed
@GabrielBarberini GabrielBarberini deleted the uvicorn-workers branch January 28, 2024 02:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants