diff options
Diffstat (limited to 'weed/shell/common.go')
| -rw-r--r-- | weed/shell/common.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/weed/shell/common.go b/weed/shell/common.go index 9fe190b31..43571176e 100644 --- a/weed/shell/common.go +++ b/weed/shell/common.go @@ -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 |
