1
0
mirror of https://github.com/fafhrd91/actix-net synced 2024-11-23 21:51:06 +01:00

Notify about paused accept loop (#215)

This commit is contained in:
Ivan Babrou 2020-11-29 07:30:13 -08:00 committed by GitHub
parent 8aca8d4d07
commit 89e56cf661
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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);
}
}
}