Nit: unify the default --maxParallelization value for weed shell commands supporting this option (#6788)

This commit is contained in:
Lisandro Pin
2025-05-13 16:59:26 +02:00
committed by GitHub
parent ba1d82db90
commit 0be020b0fa
3 changed files with 7 additions and 2 deletions

View File

@@ -5,6 +5,11 @@ import (
"sync"
)
var (
// Default maximum parallelization/concurrency for commands supporting it.
DefaultMaxParallelization = 10
)
// ErrorWaitGroup implements a goroutine wait group which aggregates errors, if any.
type ErrorWaitGroup struct {
maxConcurrency int