fix zk bug, add auto add node
change the default zookeeper session timeout. the lib samuel/go-zookeeper use
1/2 timeout for ping interval
change the default zookeeper session timeout. the lib samuel/go-zookeeper use
1/2 session timeout for ping interval.
add log when node add or remove
set a watch for comet create zk node, when node droped, then comet exit.
test push
add node delete handle when node droped
Merge branch 'zk' of github.com:Terry-Mao/gopush-cluster into zk
fix compile bug, remove no used package
fix bug: when zk path don't have any children, watch can't fire again.
add more debug log in handleNodeEvent when node add and remove