mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-25 00:36:31 +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
|
||||
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..."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue