Skip to content

Commit

Permalink
Disable database statement timeout during migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
moisses89 committed Feb 28, 2024
1 parent e92bbd0 commit 02cbe4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/web/celery/worker/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ fi

if [ ${RUN_MIGRATIONS:-0} = 1 ]; then
echo "==> $(date +%H:%M:%S) ==> Migrating Django models... "
python manage.py migrate --noinput
DB_STATEMENT_TIMEOUT=0 python manage.py migrate --noinput

echo "==> $(date +%H:%M:%S) ==> Setting up service... "
python manage.py setup_service
Expand Down

0 comments on commit 02cbe4a

Please sign in to comment.