Notify about paused accept loop

This commit is contained in:
Ivan Babrou 2020-11-28 16:58:20 -08:00
parent 8aca8d4d07
commit d4231932e4
2 changed files with 2 additions and 0 deletions

View File

@ -1,6 +1,7 @@
# Changes
## Unreleased - 2020-xx-xx
* Added explicit info log message on accept queue pause. [#215]
## 1.0.4 - 2020-09-12

View File

@ -381,6 +381,7 @@ impl Accept {
self.backpressure = true;
for (_, info) in self.sockets.iter() {
let _ = self.poll.deregister(&info.sock);
info!("Accepting connections on {} has been paused", info.addr);
}
}
}