static void preRequestSleep()

in src/main/java/org/apache/jenkins/gitpubsub/ASFGitSCMFileSystem.java [329:336]


    static void preRequestSleep() throws InterruptedException {
        long preRequestSleepMillis = Math.max(0L, Math.min(30000L, PRE_REQUEST_SLEEP_MILLIS));
        if (preRequestSleepMillis > 0L) {
            LOGGER.log(Level.FINE, "{0}.PRE_REQUEST_SLEEP_MILLIS is set, sleeping for {1}ms",
                    new Object[]{ASFGitSCMFileSystem.class, preRequestSleepMillis});
            Thread.sleep(preRequestSleepMillis);
        }
    }