提交 855c4b75 编写于 作者: W wind 提交者: lenboo

[DS-6660][Improvement] Change the registry default timeout (#6663)

* [DS-6660][Improvement] Change the registry default timeout

* [DS-6660][Improvement] Change the registry default timeout

* fix Double to Integer
Co-authored-by: Ncaishunfeng <534328519@qq.com>
上级 e806bd22
......@@ -34,9 +34,8 @@ public enum ZookeeperConfiguration {
MAX_RETRIES("max.retries", 5, Integer::valueOf),
//todo
SESSION_TIMEOUT_MS("session.timeout.ms", 1000, Integer::valueOf),
CONNECTION_TIMEOUT_MS("connection.timeout.ms", 1000, Integer::valueOf),
SESSION_TIMEOUT_MS("session.timeout.ms", 30000, Integer::valueOf),
CONNECTION_TIMEOUT_MS("connection.timeout.ms", 7500, Integer::valueOf),
BLOCK_UNTIL_CONNECTED_WAIT_MS("block.until.connected.wait", 600, Integer::valueOf),
;
......
......@@ -25,3 +25,8 @@ registry.servers=127.0.0.1:2181
#registry.plugin.binding config the Registry Plugin need be load when development and run in IDE
#registry.plugin.binding=./dolphinscheduler-registry-plugin/dolphinscheduler-registry-zookeeper/pom.xml
#registry timeout
#registry.session.timeout.ms=30000
#registry.connection.timeout.ms=7500
#registry.block.until.connected.wait=600
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册