This commit is contained in:
梁显优 2023-03-07 18:02:28 +08:00
parent 44c1cf9f0d
commit aeba8fa635

View File

@ -373,7 +373,7 @@ public class ZHubClient extends AbstractConsumer implements IConsumer, IProducer
}
return true;
} catch (Exception e) {
if (retry == 0 || i == 0) {
if (i == 0) {
logger.log(Level.WARNING, String.format("ZHubClient[%s] %s Failed 初始化失败!", getGroupid(), retry == 0 ? "init" : "reconnection"), e);
try {
Thread.sleep(1000);