diff --git a/storage/pipeline/states_sealing.go b/storage/pipeline/states_sealing.go index 0e0ed565c..e761111c4 100644 --- a/storage/pipeline/states_sealing.go +++ b/storage/pipeline/states_sealing.go @@ -237,11 +237,12 @@ func retrySoftErr(ctx context.Context, cb func() error) error { return err } - // retry + // check if the context got cancelled early if ctx.Err() != nil { return ctx.Err() } + // retry time.Sleep(SoftErrRetryWait) } else { return err