increase ensure restic repository timeout (#5335)
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com>pull/5439/head
parent
ae3ebf7451
commit
c5339227fe
|
@ -0,0 +1 @@
|
|||
Increase ensure restic repository timeout to 5m
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue