From 9e576b889182603bdff34ddf82a4901e83d0aaef Mon Sep 17 00:00:00 2001 From: Shiming Zhang Date: Mon, 29 Mar 2021 10:27:51 +0800 Subject: [PATCH] Optimize backoff Signed-off-by: Shiming Zhang --- content/local/store.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/local/store.go b/content/local/store.go index 93121ad5e..cb6aae829 100644 --- a/content/local/store.go +++ b/content/local/store.go @@ -465,7 +465,6 @@ func (s *store) Writer(ctx context.Context, opts ...content.WriterOpt) (content. } var lockErr error for count := uint64(0); count < 10; count++ { - time.Sleep(time.Millisecond * time.Duration(rand.Intn(1<