docs: private void updateAperture(int newValue, long now) {
      int previous = targetAperture;
      targetAperture = newValue;
      targetAperture = Math.max(minAperture, targetAperture);
      int maxAperture = Math.min(this.maxAperture, activeSockets.size() + pool.poolSize());
      targetAperture = Math.min(maxAperture, targetAperture);
      lastApertureRefresh = now;
      pendings.reset((minPendings + maxPendings) / 2);
  
      if (targetAperture != previous) {
        logger.debug(
            "Current pending={}, new target={}, previous target={}",
            pendings.value(),
            targetAperture,
            previous);
      }
    }