Skip to content

Commit

Permalink
update upload/download
Browse files Browse the repository at this point in the history
  • Loading branch information
jojoliang committed Sep 1, 2021
1 parent a63f617 commit fd0f5ed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions object.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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()
Expand Down

0 comments on commit fd0f5ed

Please sign in to comment.