feature/balance #3

Merged
zhangdeman merged 7 commits from feature/balance into master 2021-11-22 19:13:50 +08:00
Showing only changes of commit 376f3dfb23 - Show all commits

View File

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