mirror of
https://github.com/metabarcoding/obitools4.git
synced 2025-06-29 16:20:46 +00:00
homogenize worker count
Former-commit-id: 4352ac6694c08023cdf0e090723fac8af655cea4
This commit is contained in:
@ -1,5 +1,7 @@
|
||||
package obichunk
|
||||
|
||||
import "git.metabarcoding.org/obitools/obitools4/obitools4/pkg/obioptions"
|
||||
|
||||
type __options__ struct {
|
||||
statsOn []string
|
||||
categories []string
|
||||
@ -24,8 +26,8 @@ func MakeOptions(setters []WithOption) Options {
|
||||
navalue: "NA",
|
||||
cacheOnDisk: false,
|
||||
batchCount: 100,
|
||||
batchSize: 5000,
|
||||
parallelWorkers: 4,
|
||||
batchSize: obioptions.CLIBatchSize(),
|
||||
parallelWorkers: obioptions.CLIParallelWorkers(),
|
||||
noSingleton: false,
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user