increase ensure restic repository timeout (#5335)

Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com>
pull/5439/head
Shubham Pampattiwar 2022-10-19 04:26:45 -04:00 committed by GitHub
parent ae3ebf7451
commit c5339227fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -0,0 +1 @@
Increase ensure restic repository timeout to 5m

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 {