Navigation Menu

Skip to content

Commit

Permalink
修复“超时重试设置无效 #28”错误
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoyaoyou1212 committed Jul 16, 2018
1 parent ca8ccb4 commit e8d3777
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -470,14 +470,14 @@ public String getBaseUrl() {
}

public int getRetryDelayMillis() {
if (retryDelayMillis <= 0) {
if (retryDelayMillis < 0) {
retryDelayMillis = ViseConfig.DEFAULT_RETRY_DELAY_MILLIS;
}
return retryDelayMillis;
}

public int getRetryCount() {
if (retryCount <= 0) {
if (retryCount < 0) {
retryCount = ViseConfig.DEFAULT_RETRY_COUNT;
}
return retryCount;
Expand Down

0 comments on commit e8d3777

Please sign in to comment.