further tweak gate threshold weights

This commit is contained in:
vyzo 2020-09-03 13:34:15 +03:00
parent 8408e700e2
commit 45e1233b05
1 changed files with 1 additions and 1 deletions

View File

@ -216,7 +216,7 @@ func (pg *peerGater) AcceptFrom(p peer.ID) AcceptStatus {
st := pg.getPeerStats(p)
total := st.deliver + 0.5*st.duplicate + st.ignore + 2*st.reject
total := st.deliver + 0.25*st.duplicate + st.ignore + 4*st.reject
if total == 0 {
return AcceptAll
}