From fd0f5ed75aa97ed7719bbfd0da5913a825621094 Mon Sep 17 00:00:00 2001 From: jojoliang Date: Wed, 1 Sep 2021 17:28:49 +0800 Subject: [PATCH] update upload/download --- object.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/object.go b/object.go index 63e4260..2298025 100644 --- a/object.go +++ b/object.go @@ -732,6 +732,7 @@ func worker(ctx context.Context, s *ObjectService, jobs <-chan *Jobs, results ch results <- &res break } + time.Sleep(time.Millisecond) continue } results <- &res @@ -778,6 +779,7 @@ func downloadWorker(ctx context.Context, s *ObjectService, jobs <-chan *Jobs, re results <- &res break } + time.Sleep(time.Millisecond) continue } fd.Close()