Revert "Revert "[relay] Update GO version and QUIC version (#4736)" (#5055)" (#5071)

This reverts commit 24df442198.
This commit is contained in:
Zoltan Papp
2026-01-08 18:58:22 +01:00
committed by GitHub
parent fb71b0d04b
commit 9c9d8e17d7
78 changed files with 311 additions and 340 deletions

View File

@@ -85,6 +85,7 @@ func (s *LoginFilterTestSuite) TestBanDurationIncreasesExponentially() {
s.True(s.filter.logged[pubKey].isBanned)
s.Equal(2, s.filter.logged[pubKey].banLevel)
secondBanDuration := s.filter.logged[pubKey].banExpiresAt.Sub(s.filter.logged[pubKey].lastSeen)
// nolint
expectedSecondDuration := time.Duration(float64(baseBan) * math.Pow(2, 1))
s.InDelta(expectedSecondDuration, secondBanDuration, float64(time.Millisecond))
}