code: func (n HTTPNode) readyStateGCHandler() {
  	if gcPercent == gcPercentNotReady {
  		return
  	}
  	var err error
  	if n.IsReady() {
  		prev := debug.SetGCPercent(gcPercent)
  		if prev != gcPercent {
  			log.Infof("CLU: node is ready. changing GOGC from %d to %d", prev, gcPercent)
  			err = os.Setenv("GOGC", strconv.Itoa(gcPercent))
  		}
  	} else {
  		prev := debug.SetGCPercent(gcPercentNotReady)
  		if prev != gcPercentNotReady {
  			log.Infof("CLU: node is not ready. changing GOGC from %d to %d", prev, gcPercentNotReady)
  			err = os.Setenv("GOGC", strconv.Itoa(gcPercentNotReady))
  		}
  	}
  	if err != nil {
  		log.Warnf("CLU: could not set GOGC environment variable. gcPercent metric will be incorrect. %s", err.Error())
  	}
  }
docs: // readyStateGCHandler adjusts the gcPercent value based on the node ready state