code: func GetTotalQueryLimit() int {
  	totalQueryLimit := viper.GetInt(confTotalQueryLimit)
  	// if queryLimit was unset, default to 10000
  	if !viper.IsSet(confTotalQueryLimit) {
  		totalQueryLimit = 10000
  	}
  	return totalQueryLimit
  }
docs: // GetTotalQueryLimit exposes the totalLimit variable