1 parent 8a284ee commit 3bb6169Copy full SHA for 3bb6169
1 file changed
adnl/rldp/client.go
@@ -1059,11 +1059,9 @@ func (t *activeTransfer) prepareNextPart() (bool, error) {
1059
transfer: t,
1060
}
1061
1062
- pt := uint32(1) << uint32(math.Ceil(math.Log2(float64(part.fecSymbolsCount)*1.5)+50))
+ pt := uint32(1) << uint32(math.Ceil(math.Log2(float64(part.fecSymbolsCount)*3+50)))
1063
if pt > 16<<10 {
1064
pt = 16 << 10
1065
- } else if pt < 64 {
1066
- pt = 64
1067
1068
part.sendClock = NewSendClock(int(pt))
1069
0 commit comments