From 1657475997733133fea6a1be14b8a22cc5730698 Mon Sep 17 00:00:00 2001 From: haozhijie9527 <47975723+haozhijie9527@users.noreply.github.com> Date: Wed, 27 Oct 2021 14:59:12 +0800 Subject: [PATCH] [ISSUE#3430] fix the problem that setting parameter mqClientApiTimeout doesn't take effect (#3431) * [maven-release-plugin] prepare release rocketmq-all-4.9.2 * [maven-release-plugin] prepare for next development iteration * fix the problem that setting parameter mqClientApiTimeout doesn't take effect Co-authored-by: tigerlee Co-authored-by: haozhijie --- .../src/main/java/org/apache/rocketmq/client/ClientConfig.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/client/src/main/java/org/apache/rocketmq/client/ClientConfig.java b/client/src/main/java/org/apache/rocketmq/client/ClientConfig.java index b2c043ee..8d7f5a13 100644 --- a/client/src/main/java/org/apache/rocketmq/client/ClientConfig.java +++ b/client/src/main/java/org/apache/rocketmq/client/ClientConfig.java @@ -158,6 +158,7 @@ public class ClientConfig { this.useTLS = cc.useTLS; this.namespace = cc.namespace; this.language = cc.language; + this.mqClientApiTimeout = cc.mqClientApiTimeout; } public ClientConfig cloneClientConfig() { @@ -176,6 +177,7 @@ public class ClientConfig { cc.useTLS = useTLS; cc.namespace = namespace; cc.language = language; + cc.mqClientApiTimeout = mqClientApiTimeout; return cc; } -- GitLab