[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: caishunfeng <534328519@qq.com>
This commit is contained in:
parent
e806bd2263
commit
855c4b7561
|
|
@ -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
|
||||
Loading…
Reference in New Issue