1
0
mirror of https://github.com/fafhrd91/actix-net synced 2025-07-02 00:35:09 +02:00

do not remove the uds socket on pause

This commit is contained in:
hommeabeil
2022-02-02 22:09:24 -05:00
parent 72481313cc
commit 4ab41440ad
3 changed files with 39 additions and 13 deletions

View File

@ -31,7 +31,7 @@ async fn run() -> io::Result<()> {
let count = Arc::new(AtomicUsize::new(0));
let addr = ("127.0.0.1", 8080);
info!("starting server on port: {}", &addr.0);
info!("starting server on: {}:{}", &addr.0, &addr.1);
// Bind socket address and start worker(s). By default, the server uses the number of physical
// CPU cores as the worker count. For this reason, the closure passed to bind needs to return