aboutsummaryrefslogtreecommitdiffstats
path: root/internal/cp
diff options
context:
space:
mode:
Diffstat (limited to 'internal/cp')
-rw-r--r--internal/cp/cp.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/cp/cp.go b/internal/cp/cp.go
index 7828787..7ad80f7 100644
--- a/internal/cp/cp.go
+++ b/internal/cp/cp.go
@@ -216,7 +216,7 @@ func Copy(progress Progress, srcs []FSPath, dstRoot FSPath, force bool) {
dstIsDir = err == nil && stat.IsDir()
}
- const maxConcurrency = 500
+ const maxConcurrency = 10
// sem acts as a semaphore to limit the number of concurrent file copies
sem := make(chan struct{}, maxConcurrency)
c := &copier{