1、修改TCP推送的问题
This commit is contained in:
parent
3a7350f0f7
commit
b47f9a377e
@ -85,7 +85,12 @@ public class GXXfzForwarder extends Forwarder{
|
||||
String json = "#" + GsonUtil.toJson(xfzTcpMessage) + "!";
|
||||
logger.info("project " + projectId + ": push calculation result to XFZ");
|
||||
logger.info(json);
|
||||
xfzTcpClient.writeAndFlush(json);
|
||||
try {
|
||||
xfzTcpClient.writeAndFlush(json);
|
||||
Thread.sleep(1000);
|
||||
} catch (Exception e1) {
|
||||
e1.printStackTrace();
|
||||
}
|
||||
return sendNum;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user