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

Rename variables for clarity, update default values #55

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

codyfletcher
Copy link
Contributor

This PR attempts to bring clarity with:

  1. Rename default_celery_worker_* to celery_worker_* (since there is only 1 worker, this keeps things clear between celery_beat and celery_worker and avoids the confusion of variables like default_celery_worker_memory
  2. Rename api_* to backend_* (memory, cpu, command)
  3. Update variable description to be generic, but hopefully add more context

This PR also changes the lowers the memory and CPU allocated.

As an aside, I've been running gunicorn with 0.01 vCPU (10 CPU Units) and 512 MB memory and haven't had any issues! We don't need to go that low necessarily, but it's good to know how much we might need to set defaults.

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