code: func GetInternalQueryLimit() int {
  	internalQueryLimit := viper.GetInt(confInternalQueryLimit)
  	// if queryLimit was unset, default to 1000
  	if !viper.IsSet(confInternalQueryLimit) {
  		internalQueryLimit = 1000
  	}
  	return internalQueryLimit
  }
docs: // GetInternalQueryLimit exposes the queryLimit variable