This commit is contained in:
zhangdeman committed 2021-11-22 17:21:41 +08:00
1 parent 275e52a108
commit 376f3dfb23
1 file changed
+2 -1
+2 -1
View File
@@ -26,7 +26,8 @@ func NewPoll(serverList []*define.ServerNode) (IBalance, error) {
} }
return &Poll{ return &Poll{
base: base{ base: base{
lock: &sync.RWMutex{}, lock: &sync.RWMutex{},
severList: serverList,
}, },
currentServerIndex: 0, currentServerIndex: 0,
}, nil }, nil
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.