Skip to content
This repository was archived by the owner on Apr 1, 2025. It is now read-only.

Commit 192449f

Browse files
committed
qareports: increase migration timeout
Increase migration timeout from 1h to 24h, enabling larger migrations
1 parent 76c8d1e commit 192449f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

qareports

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ qareports_migrate_db() {
122122

123123
sed "s%squadproject/squad:release%\"$image\"%" k8s/qareports-migration.yml | k apply -f -
124124

125-
k wait --for=condition=complete --timeout=1800s job/qareports-migration # Wait 30 minutes for migration to complete
125+
k wait --for=condition=complete --timeout=86400s job/qareports-migration # Wait up to 24 hours for migration to complete
126126
if [ $? != 0 ]
127127
then
128128
echo "Failed to apply migration:"

0 commit comments

Comments
 (0)