File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ source "${TOOLS_LIB}/libcli.source"
1111source " ${SPLICE_ROOT} /cluster/scripts/utils.source"
1212
1313RUN_ID=$( date +%s)
14+ WAIT_FOR_BACKUP_RETRIES=450
1415
1516# #### PVC Backup & Restore
1617
@@ -54,7 +55,7 @@ function wait_for_pvc_backup() {
5455 _info " Backup of $description PVC ready!"
5556 break
5657 else
57- (( i++ )) && (( i > 300 )) && _error " Timed out waiting for backup of $description PVC"
58+ (( i++ )) && (( i > WAIT_FOR_BACKUP_RETRIES )) && _error " Timed out waiting for backup of $description PVC"
5859 sleep 5
5960 _info " still waiting..."
6061 fi
@@ -148,7 +149,7 @@ function wait_for_cloudsql_backup() {
148149 _info " Backup of $description ready! Backup ID: $id "
149150 break
150151 else
151- (( i++ )) && (( i > 300 )) && _error " Timed out waiting for backup of $description db"
152+ (( i++ )) && (( i > WAIT_FOR_BACKUP_RETRIES )) && _error " Timed out waiting for backup of $description db"
152153 sleep 5
153154 _info " still waiting..."
154155 fi
You can’t perform that action at this time.
0 commit comments