parent
5abf0ee302
commit
dde6ad55c5
|
@ -49,7 +49,7 @@ func WithMaxGoroutines(n int) Option {
|
||||||
func WithMinSplitSize(n int) Option {
|
func WithMinSplitSize(n int) Option {
|
||||||
return func(o *options) {
|
return func(o *options) {
|
||||||
if n > 0 {
|
if n > 0 {
|
||||||
o.maxGoroutines = n
|
o.minSplitSize = n
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue