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:
committed by
GitHub
parent
8c4ec34cd4
commit
4e0dd091f5
@ -82,7 +82,7 @@ async fn run() -> io::Result<()> {
|
||||
ok(size)
|
||||
})
|
||||
})?
|
||||
.workers(1)
|
||||
.workers(2)
|
||||
.run()
|
||||
.await
|
||||
}
|
||||
|
Reference in New Issue
Block a user