This commit is contained in:
白茶清欢 2021-11-22 17:21:41 +08:00
parent 275e52a108
commit 376f3dfb23

View File

@ -27,6 +27,7 @@ func NewPoll(serverList []*define.ServerNode) (IBalance, error) {
return &Poll{
base: base{
lock: &sync.RWMutex{},
severList: serverList,
},
currentServerIndex: 0,
}, nil