diff --git a/remoting/zookeeper/listener.go b/remoting/zookeeper/listener.go index 35d8079c7c89b34311e9284a23f4148fc5b030a7..f05246b6137b267a1c3c0e0a40388cbbe34a5a7d 100644 --- a/remoting/zookeeper/listener.go +++ b/remoting/zookeeper/listener.go @@ -35,7 +35,7 @@ import ( ) var ( - wheel = gxtime.NewWheel(gxtime.TimeSecondDuration(3), 16) // wheel longest span is 2 minute + wheel = gxtime.NewWheel(gxtime.TimeSecondDuration(ConnDelay), MaxFailTimes+1) // wheel longest span is 2 minute ) type ZkEventListener struct {