This commit is contained in:
2023-04-17 02:11:07 +08:00
committed by 绝尘
parent e8b9140103
commit e2c2b62665

View File

@@ -298,6 +298,7 @@ public class ZHubClient extends AbstractConsumer implements IConsumer, IProducer
// send msg // send msg
new Thread(() -> { new Thread(() -> {
while (true) {
String msg = null; String msg = null;
try { try {
msg = sendMsgQueue.take(); msg = sendMsgQueue.take();
@@ -315,7 +316,8 @@ public class ZHubClient extends AbstractConsumer implements IConsumer, IProducer
e.printStackTrace(); e.printStackTrace();
} }
} }
}); }
}).start();
} }