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,6 +1,7 @@
|
||||
package obingslibrary
|
||||
|
||||
import (
|
||||
"git.metabarcoding.org/obitools/obitools4/obitools4/pkg/obioptions"
|
||||
"git.metabarcoding.org/obitools/obitools4/obitools4/pkg/obiseq"
|
||||
)
|
||||
|
||||
@ -125,8 +126,8 @@ func MakeOptions(setters []WithOption) Options {
|
||||
allowedMismatch: 0,
|
||||
allowsIndel: false,
|
||||
withProgressBar: false,
|
||||
parallelWorkers: 4,
|
||||
batchSize: 1000,
|
||||
parallelWorkers: obioptions.CLIParallelWorkers(),
|
||||
batchSize: obioptions.CLIBatchSize(),
|
||||
}
|
||||
|
||||
opt := Options{&o}
|
||||
|
Reference in New Issue
Block a user