fix: increase timeout for alembic migrations in entrypoint script to prevent premature failures

This commit is contained in:
Anish Sarkar 2026-03-02 23:45:24 +05:30
parent 799b3dcbfe
commit d24691a968

View file

@ -53,7 +53,7 @@ run_migrations() {
sleep 1
done
if timeout 60 alembic upgrade head 2>&1; then
if timeout 300 alembic upgrade head 2>&1; then
echo "Migrations completed successfully."
else
echo "WARNING: Migration failed or timed out. Continuing anyway..."