Skip to content
Snippets Groups Projects
Commit 494df928 authored by Benjamin Wenger's avatar Benjamin Wenger
Browse files

hacked the client to work with poor gateway propogation

parent 356d1bc0
No related branches found
No related tags found
3 merge requests!510Release,!419rewrote the health tracker to both consider if there are waiting rounds and...,!340Project/channels
......@@ -14,7 +14,6 @@ package gateway
import (
"encoding/json"
"math"
"sort"
"strings"
"sync"
......@@ -823,7 +822,10 @@ func getPoolSize(ndfLen, maxSize uint32) (uint32, error) {
"Unable to create HostPool: no gateways available")
}
poolSize := uint32(math.Ceil(math.Sqrt(float64(ndfLen))))
// fix-me: this is a HACK to get it working in testnet night of 10/12/2022
// DO NOT PUSH TO LIVE - gateway gossip shuffle must be fixed
//poolSize := uint32(math.Ceil(math.Sqrt(float64(ndfLen))))
poolSize := ndfLen
if poolSize > maxSize {
return maxSize, nil
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment