Closed
Bug 1546503
Opened 7 years ago
Closed 6 years ago
Ability to control gunicorn and celery workers in local dev
Categories
(developer.mozilla.org Graveyard :: General, enhancement, P5)
developer.mozilla.org Graveyard
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: peterbe, Assigned: peterbe)
Details
(Keywords: in-triage)
Attachments
(1 file)
As of today, when you run docker-compose up it starts 4 celery workers and 4 gunicorn workers. That's pretty hefty and resource intensive.
You could follow the development instructions to "Customizing the Docker environment" by writing your own docker-compose.dev.yml to your own liking. But that's not without risk when the default docker-compose.yml changes. Being able to control this once from your personal .env would be nicer.
| Assignee | ||
Comment 1•7 years ago
|
||
One option is to control gunicorn with GUNICORN_CMD_ARGS but it requires that you want to control all the other things. Not just the number of workers. Also, that solution is unique to gunicorn.
Comment 2•7 years ago
|
||
| Assignee | ||
Updated•7 years ago
|
Priority: -- → P5
| Assignee | ||
Comment 3•6 years ago
|
||
Merged in master and doesn't depend on production deployment.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•