Skip to content

Commit

Permalink
Very minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
samuel committed Dec 10, 2014
1 parent 7a44a0a commit 1fff4bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zk/conn.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ func ConnectWithDialer(servers []string, sessionTimeout time.Duration, dialer Di
eventChan: ec,
shouldQuit: make(chan bool),
recvTimeout: recvTimeout,
pingInterval: time.Duration((int64(recvTimeout) / 2)),
pingInterval: recvTimeout / 2,
connectTimeout: 1 * time.Second,
sendChan: make(chan *request, sendChanSize),
requests: make(map[int32]*request),
Expand Down

0 comments on commit 1fff4bb

Please sign in to comment.