increase ensure restic repository timeout (#5335)

Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com>
This commit is contained in:
Shubham Pampattiwar
2022-10-19 16:26:45 +08:00
committed by GitHub
parent ae3ebf7451
commit c5339227fe
2 changed files with 2 additions and 1 deletions
@@ -0,0 +1 @@
Increase ensure restic repository timeout to 5m
+1 -1
View File
@@ -124,7 +124,7 @@ func (r *RepositoryEnsurer) createBackupRepositoryAndWait(ctx context.Context, n
}
}
err := wait.PollWithContext(ctx, time.Millisecond*500, time.Minute, checkFunc)
err := wait.PollWithContext(ctx, time.Millisecond*500, time.Minute*5, checkFunc)
if err != nil {
return nil, errors.Wrap(err, "failed to wait BackupRepository")
} else {