update
This commit is contained in:
parent
275e52a108
commit
376f3dfb23
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user