Skip to content

Commit

Permalink
(fix) large default zookeeper timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
sunng87 committed Jul 31, 2015
1 parent 42e34f6 commit 5c6a6b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/slacker/zk.clj
Expand Up @@ -19,8 +19,8 @@
(defn connect [connect-string options]
(doto (CuratorFrameworkFactory/newClient
connect-string
(or (:zk-session-timeout options) 5000) ;; session timeout
(or (:zk-connect-timeout options) 5000) ;; connect timeout
(or (:zk-session-timeout options) 30000) ;; session timeout
(or (:zk-connect-timeout options) 10000) ;; connect timeout
(RetryNTimes. Integer/MAX_VALUE 5000))
(.start)))

Expand Down

0 comments on commit 5c6a6b2

Please sign in to comment.