mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-06-04 20:05:16 +02:00
fix: increase timeout for alembic migrations in entrypoint script to prevent premature failures
This commit is contained in:
parent
799b3dcbfe
commit
d24691a968
1 changed files with 1 additions and 1 deletions
|
|
@ -53,7 +53,7 @@ run_migrations() {
|
||||||
sleep 1
|
sleep 1
|
||||||
done
|
done
|
||||||
|
|
||||||
if timeout 60 alembic upgrade head 2>&1; then
|
if timeout 300 alembic upgrade head 2>&1; then
|
||||||
echo "Migrations completed successfully."
|
echo "Migrations completed successfully."
|
||||||
else
|
else
|
||||||
echo "WARNING: Migration failed or timed out. Continuing anyway..."
|
echo "WARNING: Migration failed or timed out. Continuing anyway..."
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue