Skip to content

Commit 0c2232f

Browse files
carryxyhbeiwei30
authored andcommitted
fix heartbeat internal (#3579)
1 parent 2cfc2b3 commit 0c2232f

File tree

1 file changed

+1
-1
lines changed
  • dubbo-remoting/dubbo-remoting-netty4/src/main/java/org/apache/dubbo/remoting/transport/netty4

1 file changed

+1
-1
lines changed

dubbo-remoting/dubbo-remoting-netty4/src/main/java/org/apache/dubbo/remoting/transport/netty4/NettyClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ protected void doOpen() throws Throwable {
7878

7979
@Override
8080
protected void initChannel(Channel ch) throws Exception {
81-
int heartbeatInterval = UrlUtils.getIdleTimeout(getUrl());
81+
int heartbeatInterval = UrlUtils.getHeartbeat(getUrl());
8282
NettyCodecAdapter adapter = new NettyCodecAdapter(getCodec(), getUrl(), NettyClient.this);
8383
ch.pipeline()//.addLast("logging",new LoggingHandler(LogLevel.INFO))//for debug
8484
.addLast("decoder", adapter.getDecoder())

0 commit comments

Comments
 (0)