Increase thread count.
This commit is contained in:
parent
1a0e188e95
commit
7542dd6d9a
@ -85,7 +85,7 @@ async fn handle_http(stream:system::net::tls::TlsStream, addr:SocketAddr, args:H
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#[tokio::main(flavor = "multi_thread", worker_threads = 4)]
|
#[tokio::main(flavor = "multi_thread", worker_threads = 12)]
|
||||||
async fn main()
|
async fn main()
|
||||||
{
|
{
|
||||||
use system::net::{
|
use system::net::{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user