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)

enhancement

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.

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.

Priority: -- → P5

Merged in master and doesn't depend on production deployment.

Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Product: developer.mozilla.org → developer.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: