Skip to content

Commit

Permalink
re
Browse files Browse the repository at this point in the history
  • Loading branch information
knightliao committed Oct 22, 2015
1 parent 62abfaf commit b8b2d9f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,6 @@
/.DS_Store
/*-baidu.xml
/log
.idea
.idea
BCLOUD
build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ public synchronized void loadConfig(String filePath) throws Exception {
* @since 1.0.0
*/
@DisInnerConfigAnnotation(name = "conf_server_url_retry_sleep_seconds", defaultValue = "2")
public int CONF_SERVER_URL_RETRY_SLEEP_SECONDS = 2;
public int confServerUrlRetrySleepSeconds = 2;

public List<String> getHostList() {
return hostList;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public static void verifyUserConfig() throws Exception {
.getInstance().CONF_SERVER_URL_RETRY_TIMES);

LOGGER.debug("SERVER conf_server_url_retry_sleep_seconds: " +
DisClientConfig.getInstance().CONF_SERVER_URL_RETRY_SLEEP_SECONDS);
DisClientConfig.getInstance().confServerUrlRetrySleepSeconds);
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public static FetcherMgr getFetcherMgr() throws Exception {

FetcherMgr fetcherMgr =
new FetcherMgrImpl(restfulMgr, DisClientConfig.getInstance().CONF_SERVER_URL_RETRY_TIMES,
DisClientConfig.getInstance().CONF_SERVER_URL_RETRY_SLEEP_SECONDS,
DisClientConfig.getInstance().confServerUrlRetrySleepSeconds,
DisClientSysConfig.getInstance().ENABLE_LOCAL_DOWNLOAD_DIR_IN_CLASS_PATH,
DisClientConfig.getInstance().userDefineDownloadDir,
DisClientConfig.getInstance().getHostList());
Expand Down

0 comments on commit b8b2d9f

Please sign in to comment.