Merge branch 'release-1.9' into issue-4980

This commit is contained in:
qiuming
2022-09-14 15:27:25 +08:00
committed by GitHub
9 changed files with 28 additions and 8 deletions
+1 -1
View File
@@ -176,7 +176,7 @@ func (r *repositoryEnsurer) EnsureRepo(ctx context.Context, namespace, volumeNam
select {
// repositories should become either ready or not ready quickly if they're
// newly created.
case <-time.After(time.Minute):
case <-time.After(time.Minute * 5):
return nil, errors.New("timed out waiting for restic repository to become ready")
case <-ctx.Done():
return nil, errors.New("timed out waiting for restic repository to become ready")