diff --git a/changelogs/unreleased/5335-shubham-pampattiwar b/changelogs/unreleased/5335-shubham-pampattiwar new file mode 100644 index 000000000..803f0f3cb --- /dev/null +++ b/changelogs/unreleased/5335-shubham-pampattiwar @@ -0,0 +1 @@ +Increase ensure restic repository timeout to 5m \ No newline at end of file diff --git a/pkg/repository/ensurer.go b/pkg/repository/ensurer.go index 5527ac742..7d7bd3ffb 100644 --- a/pkg/repository/ensurer.go +++ b/pkg/repository/ensurer.go @@ -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 {