mirror of
https://github.com/gogrlx/nats-server.git
synced 2026-04-02 03:38:42 -07:00
Only log if still running
This commit is contained in:
@@ -186,7 +186,7 @@ func (s *Server) AcceptLoop() {
|
||||
if tmpDelay > ACCEPT_MAX_SLEEP {
|
||||
tmpDelay = ACCEPT_MAX_SLEEP
|
||||
}
|
||||
} else {
|
||||
} else if s.isRunning() {
|
||||
Logf("Accept error: %v", err)
|
||||
}
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user