Skip to content

Commit 2829fa8

Browse files
chore: Set heroku celery concurrency to 2 (#7485)
To minimize memory usage
1 parent 41f2685 commit 2829fa8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/heroku.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export INTEGRATE_SOCKETIO=false
66
# also socketio is not used in a celery task so no problem to turn it off
77
chmod -R 0777 ./static
88
./scripts/l10n.sh generate
9-
celery worker -A app.instance.celery --loglevel=info &
9+
celery worker -A app.instance.celery --loglevel=info -c 2 &
1010
if [ "$APP_CONFIG" = "config.DevelopmentConfig" ]; then
1111
python manage.py runserver -h 0.0.0.0 -p ${PORT:-8000} --no-reload
1212
else

0 commit comments

Comments
 (0)