Skip to content

Commit 0223fb0

Browse files
PBM-1414 Set Number of Parallel Collections to 1 by default
1 parent 2a6b65b commit 0223fb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/pbm-agent/restore.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ func (a *Agent) Restore(ctx context.Context, r *ctrl.RestoreCmd, opid ctrl.OPID,
121121
return
122122
}
123123

124-
numParallelColls := runtime.NumCPU() / 2
124+
numParallelColls := 1
125125
if r.NumParallelColls != nil && *r.NumParallelColls > 0 {
126126
numParallelColls = int(*r.NumParallelColls)
127127
} else if cfg.Restore != nil && cfg.Restore.NumParallelCollections > 0 {

0 commit comments

Comments
 (0)