Skip to content

Commit

Permalink
increase ensure restic repository timeout (#5335)
Browse files Browse the repository at this point in the history
Signed-off-by: Shubham Pampattiwar <spampatt@redhat.com>
  • Loading branch information
shubham-pampattiwar authored Oct 19, 2022
1 parent ae3ebf7 commit c533922
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelogs/unreleased/5335-shubham-pampattiwar
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Increase ensure restic repository timeout to 5m
2 changes: 1 addition & 1 deletion pkg/repository/ensurer.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit c533922

Please sign in to comment.