Pārlūkot izejas kodu

acceptor: upgrade "reached incoming connection limit" to a warning

draoi 2 gadi atpakaļ
vecāks
revīzija
2563c3995c
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      src/net/acceptor.rs

+ 1 - 1
src/net/acceptor.rs

@@ -107,7 +107,7 @@ impl Acceptor {
                 // These channels are the channels spawned below on listener.next().is_ok().
                 // These channels are the channels spawned below on listener.next().is_ok().
                 // After the notification, we reset the condvar and retry this loop to see
                 // After the notification, we reset the condvar and retry this loop to see
                 // if we can accept more connections, and if not - we'll be back here.
                 // if we can accept more connections, and if not - we'll be back here.
-                debug!(target: "net::acceptor::run_accept_loop()", "Reached incoming conn limit, waiting...");
+                warn!(target: "net::acceptor::run_accept_loop()", "Reached incoming conn limit, waiting...");
                 cv.wait().await;
                 cv.wait().await;
                 cv.reset();
                 cv.reset();
                 continue
                 continue