less for qourum
All checks were successful
Build and Publish / BuildAndDeploy (push) Successful in 2m0s
All checks were successful
Build and Publish / BuildAndDeploy (push) Successful in 2m0s
This commit is contained in:
@@ -317,7 +317,7 @@ func (p *SyncedPool) RequestOwnership(id CartId) error {
|
||||
if ok == 0 && all > 0 {
|
||||
return fmt.Errorf("no remotes confirmed change")
|
||||
}
|
||||
if ok < (all/2)+1 {
|
||||
if ok < (all / 2) {
|
||||
return fmt.Errorf("quorum not reached")
|
||||
}
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user