commit 85cb0a5bdd18a59e07fef2983e57b878a5cbbf7f
parent 5ae349790023c4da43379bda761698680bcb1b3b
Author: n0tr1v <n0tr1v@protonmail.com>
Date: Tue, 31 Jan 2023 02:07:35 -0800
reduce delay between threads
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/cmd/dkfupload/main.go b/cmd/dkfupload/main.go
@@ -146,7 +146,7 @@ func main() {
wg.Add(nbThreads)
for i := 0; i < nbThreads; i++ {
go work(i, wg, chunksCh, isLocal, dry, maxChunkSize, nbChunks, f, baseUrl, filedropUUID, httpTimeout)
- time.Sleep(500 * time.Millisecond)
+ time.Sleep(25 * time.Millisecond)
}
// Wait for all workers to have completed