1
0
mirror of https://github.com/fafhrd91/actix-net synced 2025-06-26 18:37:42 +02:00

Server: run after await (#426)

Co-authored-by: Rob Ede <robjtede@icloud.com>
This commit is contained in:
Ali MJ Al-Nasrawy
2021-12-05 22:22:47 +03:00
committed by GitHub
parent 8c4ec34cd4
commit 4e0dd091f5
6 changed files with 129 additions and 110 deletions

View File

@ -82,7 +82,7 @@ async fn run() -> io::Result<()> {
ok(size)
})
})?
.workers(1)
.workers(2)
.run()
.await
}