@@ -58,7 +58,7 @@ async fn main() -> std::io::Result<()> {
.client_timeout(Seconds(0))
.h1(web::App::new().service(json).service(plaintext).finish())
})?
- .workers(num_cpus::get_physical())
+ .workers(num_cpus::get())
.run()
.await
}
@@ -99,7 +99,7 @@ async fn main() -> std::io::Result<()> {
.h1(AppFactory)
@@ -87,7 +87,7 @@ async fn main() -> io::Result<()> {
codec: h1::Codec::default(),
})