This commit is contained in:
lxy
2024-01-19 03:44:04 +08:00
committed by lxy
parent e8b9140103
commit e2c2b62665
+3 -1
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();
} }