修复异常操作问题.

pull/12/head
chen.ma 3 years ago
parent ae1ad00c79
commit ccd9ff16e0

@ -133,7 +133,7 @@ public class Md5ConfigUtil {
sb.append(WORD_SEPARATOR);
sb.append(dataIdGroupId[1]);
// if have tenant, then set it
if (dataIdGroupId.length == 3) {
if (dataIdGroupId.length == 4) {
if (org.apache.commons.lang3.StringUtils.isNotBlank(dataIdGroupId[2])) {
sb.append(WORD_SEPARATOR);
sb.append(dataIdGroupId[2]);

@ -140,6 +140,7 @@ public class ClientWorker implements DisposableBean {
cacheData.setContent(poolContent);
} catch (Exception ex) {
// ignore
log.error("Failed to get the latest thread pool configuration.", ex);
}
}

Loading…
Cancel
Save