diff --git a/src/main/java/org/kohsuke/github/GitHubClient.java b/src/main/java/org/kohsuke/github/GitHubClient.java index 9fbe24865f..c089819e51 100644 --- a/src/main/java/org/kohsuke/github/GitHubClient.java +++ b/src/main/java/org/kohsuke/github/GitHubClient.java @@ -61,7 +61,7 @@ class GitHubClient { private static final int minRetryInterval = Math.max(DEFAULT_MINIMUM_RETRY_MILLIS, Integer.getInteger(GitHubClient.class.getName() + ".minRetryInterval", DEFAULT_MINIMUM_RETRY_MILLIS)); private static final int maxRetryInterval = Math.max(DEFAULT_MAXIMUM_RETRY_MILLIS, - Integer.getInteger(GitHubClient.class.getName() + ".minRetryInterval", DEFAULT_MINIMUM_RETRY_MILLIS)); + Integer.getInteger(GitHubClient.class.getName() + ".maxRetryInterval", DEFAULT_MAXIMUM_RETRY_MILLIS)); // Cache of myself object. private final String apiUrl;