You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by zh...@apache.org on 2023/10/11 08:06:28 UTC

[dolphinscheduler] 26/40: [Improvement][Api]Change default zookeeper timeout setting (#14940)

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

zhongjiajie pushed a commit to branch 3.2.0-release
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git

commit 23f6494ad61e38525561a2919726fc1f965b645b
Author: AmriStrong <15...@139.com>
AuthorDate: Thu Sep 21 02:50:22 2023 -0500

    [Improvement][Api]Change default zookeeper timeout setting (#14940)
    
    * Local running api project connection remote zookeeper always reported connection timeout #14939  Adjust the connection zookeeper timeout time
    
    * Local running api project connection remote zookeeper always reported connection timeout #14939  Adjust the connection zookeeper timeout time
    
    * Local running api project connection remote zookeeper always reported connection timeout #14939  Adjust the connection zookeeper timeout time
    
    * reported connection timeout #14939  Adjust the connection  timeout time use the curator default setting
    
    ---------
    
    Co-authored-by: AmriStrong <wa...@baseus.com>
    (cherry picked from commit b3036487524889934457f605ce92cece74d5efc6)
---
 dolphinscheduler-api/src/main/resources/application.yaml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dolphinscheduler-api/src/main/resources/application.yaml b/dolphinscheduler-api/src/main/resources/application.yaml
index c9b2bfd6f5..e8ac8d3601 100644
--- a/dolphinscheduler-api/src/main/resources/application.yaml
+++ b/dolphinscheduler-api/src/main/resources/application.yaml
@@ -110,9 +110,9 @@ registry:
       base-sleep-time: 60ms
       max-sleep: 300ms
       max-retries: 5
-    session-timeout: 30s
-    connection-timeout: 9s
-    block-until-connected: 600ms
+    session-timeout: 60s
+    connection-timeout: 15s
+    block-until-connected: 15s
     digest: ~
 
 api: