This is an automated email from the ASF dual-hosted git repository.

dinglei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/rocketmq-client-go.git


The following commit(s) were added to refs/heads/master by this push:
     new 3ccfbff  keep queryTopicRouteInfoFromServer timeout the same as Java 
(#880)
3ccfbff is described below

commit 3ccfbff450aa3565d013d1ffc209ab4cd8c3e988
Author: WeizhongTu <[email protected]>
AuthorDate: Wed Aug 3 17:10:47 2022 +0800

    keep queryTopicRouteInfoFromServer timeout the same as Java (#880)
    
    [ISSUE #882] keep queryTopicRouteInfoFromServer timeout the same as Java.
---
 internal/route.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/internal/route.go b/internal/route.go
index a101a61..7589484 100644
--- a/internal/route.go
+++ b/internal/route.go
@@ -40,7 +40,7 @@ import (
 const (
        EnvNameServerAddr = "NAMESRV_ADDR"
 
-       requestTimeout   = 3 * time.Second
+       requestTimeout   = 6 * time.Second
        defaultTopic     = "TBW102"
        defaultQueueNums = 4
        MasterId         = int64(0)

Reply via email to