Skip to content

Commit

Permalink
increase ensure restic repository timeout
Browse files Browse the repository at this point in the history
Signed-off-by: Shubham Pampattiwar <[email protected]>

update changelog

Signed-off-by: Shubham Pampattiwar <[email protected]>

update changelog file name

Signed-off-by: Shubham Pampattiwar <[email protected]>
  • Loading branch information
shubham-pampattiwar committed Sep 13, 2022
1 parent be40d7e commit f628252
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 f628252

Please sign in to comment.