We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
com.baidu.disconf.core.common.restful.impl.RestfulMgrImpl private File retryDownload(String fileName, RemoteUrl remoteUrl, int retryTimes, int retrySleepSeconds) throws Exception {
String tmpFileDir = "./disconf/download"; //为什么要硬编码……………… 有没有考虑到可能有问题 String tmpFilePath = OsUtil.pathJoin(tmpFileDir, fileName); String tmpFilePathUnique = MyStringUtils.getRandomName(tmpFilePath); File tmpFilePathUniqueFile = new File(tmpFilePathUnique); retry4ConfDownload(remoteUrl, tmpFilePathUniqueFile, retryTimes, retrySleepSeconds); return tmpFilePathUniqueFile; }
The text was updated successfully, but these errors were encountered:
在sys配置文件里有,我没有用上。https://github.com/knightliao/disconf/blob/master/disconf-client/src/main/resources/disconf_sys.properties 我下个版本 fix,感谢提醒
Sorry, something went wrong.
fix
No branches or pull requests
com.baidu.disconf.core.common.restful.impl.RestfulMgrImpl
private File retryDownload(String fileName, RemoteUrl remoteUrl, int retryTimes, int retrySleepSeconds)
throws Exception {
The text was updated successfully, but these errors were encountered: