Merge branch 'main' into dev

This commit is contained in:
Derek Collison
2022-12-30 12:23:23 -08:00
20 changed files with 87 additions and 51 deletions

View File

@@ -3598,7 +3598,7 @@ func (s *Server) acceptError(acceptName string, err error, tmpDelay time.Duratio
return -1
}
//lint:ignore SA1019 We want to retry on a bunch of errors here.
if ne, ok := err.(net.Error); ok && ne.Temporary() {
if ne, ok := err.(net.Error); ok && ne.Temporary() { // nolint:staticcheck
s.Errorf("Temporary %s Accept Error(%v), sleeping %dms", acceptName, ne, tmpDelay/time.Millisecond)
select {
case <-time.After(tmpDelay):