Fix #62
This commit is contained in:
parent
71c4c43e27
commit
59b6562e0d
@ -95,7 +95,7 @@ public class ServerHttpAgent {
|
|||||||
new Object[] { serverListMgr.getCurrentServerAddr()});
|
new Object[] { serverListMgr.getCurrentServerAddr()});
|
||||||
throw ioe;
|
throw ioe;
|
||||||
}
|
}
|
||||||
} while (System.currentTimeMillis() > endTime);
|
} while (System.currentTimeMillis() <= endTime);
|
||||||
|
|
||||||
log.error("NACOS-0002",
|
log.error("NACOS-0002",
|
||||||
LoggerHelper.getErrorCodeStr("NACOS", "NACOS-0002", "环境问题", "no available server"));
|
LoggerHelper.getErrorCodeStr("NACOS", "NACOS-0002", "环境问题", "no available server"));
|
||||||
@ -137,7 +137,7 @@ public class ServerHttpAgent {
|
|||||||
throw ioe;
|
throw ioe;
|
||||||
}
|
}
|
||||||
|
|
||||||
} while (System.currentTimeMillis() > endTime);
|
} while (System.currentTimeMillis() <= endTime);
|
||||||
|
|
||||||
log.error("NACOS-0002",
|
log.error("NACOS-0002",
|
||||||
LoggerHelper.getErrorCodeStr("NACOS", "NACOS-0002", "环境问题", "no available server"));
|
LoggerHelper.getErrorCodeStr("NACOS", "NACOS-0002", "环境问题", "no available server"));
|
||||||
@ -179,7 +179,7 @@ public class ServerHttpAgent {
|
|||||||
throw ioe;
|
throw ioe;
|
||||||
}
|
}
|
||||||
|
|
||||||
} while (System.currentTimeMillis() > endTime);
|
} while (System.currentTimeMillis() <= endTime);
|
||||||
|
|
||||||
log.error("NACOS-0002",
|
log.error("NACOS-0002",
|
||||||
LoggerHelper.getErrorCodeStr("NACOS", "NACOS-0002", "环境问题", "no available server"));
|
LoggerHelper.getErrorCodeStr("NACOS", "NACOS-0002", "环境问题", "no available server"));
|
||||||
|
Loading…
Reference in New Issue
Block a user