mirror of
https://github.com/nxshock/zkv.git
synced 2024-11-27 11:21:02 +05:00
14 lines
201 B
Go
14 lines
201 B
Go
package zkv
|
|
|
|
type Options struct {
|
|
MaxParallelReads uint
|
|
}
|
|
|
|
func (o *Options) Validate() error {
|
|
if o.MaxParallelReads == 0 {
|
|
o.MaxParallelReads = defaultOptions.MaxParallelReads
|
|
}
|
|
|
|
return nil
|
|
}
|