private void maybeRegulate(boolean isInternal) {
        LoadLevel loadLevel = currentLoadLevel();
        long now = System.currentTimeMillis();
        long timeElapsed = now - lastRegulateTime;

        if (timeElapsed < config.cooldownMs()) {
            // Skip regulating if the cooldown time has not passed.
            if (!isInternal) {
                // Schedule the next regulate action if it is not an internal call.
                checkerScheduler.schedule(() -> maybeRegulate(true), config.cooldownMs() - timeElapsed, TimeUnit.MILLISECONDS);
            }
            return;
        }
        regulate(loadLevel, now);
    }
Regulate the system if the cooldown time has passed.

@param isInternal True if it is an internal call, which means it should not schedule the next regulate action.
core/src/main/java/kafka/automq/backpressure/DefaultBackPressureManager.java