1
0
mirror of https://github.com/nxshock/zkv.git synced 2024-11-27 11:21:02 +05:00
zkv/options.go

14 lines
201 B
Go
Raw Normal View History

package zkv
type Options struct {
MaxParallelReads uint
}
func (o *Options) Validate() error {
if o.MaxParallelReads == 0 {
o.MaxParallelReads = defaultOptions.MaxParallelReads
}
return nil
}