Skip to content

Commit

Permalink
fix pdf report generation in prod (#2400)
Browse files Browse the repository at this point in the history
Co-authored-by: Vignesh Hari <[email protected]>
  • Loading branch information
sainak and vigneshhari authored Aug 26, 2024
1 parent 28bb04d commit 92f717e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions scripts/celery_worker-ecs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ if [ -z "${DATABASE_URL}" ]; then
export DATABASE_URL="postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_PORT}/${POSTGRES_DB}"
fi

python manage.py collectstatic --noinput
python manage.py compilemessages
celery --app=config.celery_app worker --max-tasks-per-child=6 --loglevel=info
1 change: 1 addition & 0 deletions scripts/celery_worker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ fi


export NEW_RELIC_CONFIG_FILE=/etc/newrelic.ini
python manage.py collectstatic --noinput
python manage.py compilemessages
newrelic-admin run-program celery --app=config.celery_app worker --max-tasks-per-child=6 --loglevel=info

0 comments on commit 92f717e

Please sign in to comment.