code: func (cfg *IdxConfig) Validate() error {
  	if cfg.pruneInterval == 0 {
  		return errors.New("pruneInterval must be greater then 0. " + timeUnits)
  	}
  	if cfg.timeout == 0 {
  		return errors.New("timeout must be greater than 0. " + timeUnits)
  	}
  	return nil
  }
docs: // Validate validates IdxConfig settings