code: func (k *Keygen) precomputeKeys() {
  	for {
  		privPem, pubBytes, err := GenerateKeyPair("")
  		if err != nil {
  			log.Errorf("Unable to generate key pair: %v.", err)
  			continue
  		}
  		key := keyPair{
  			privPem:  privPem,
  			pubBytes: pubBytes,
  		}
  
  		select {
  		case <-k.ctx.Done():
  			log.Infof("Stopping key precomputation routine.")
  			return
  		case k.keysCh <- key:
  			continue
  		}
  	}
  }
docs: // precomputeKeys continues loops forever trying to compute cache key pairs.