We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6b2a7f9 commit 14c1c80Copy full SHA for 14c1c80
1 file changed
framework/src/main/java/org/tron/common/logsfilter/nativequeue/NativeMessageQueue.java
@@ -30,12 +30,11 @@ public static NativeMessageQueue getInstance() {
30
public boolean start(int bindPort, int sendQueueLength) {
31
context = new ZContext();
32
publisher = context.createSocket(SocketType.PUB);
33
- publisher.setSendTimeOut(ZMQ_SEND_TIME_OUT);
34
35
if (Objects.isNull(publisher)) {
36
return false;
37
}
38
-
+ publisher.setSendTimeOut(ZMQ_SEND_TIME_OUT);
39
if (bindPort == 0 || bindPort < 0) {
40
bindPort = DEFAULT_BIND_PORT;
41
0 commit comments