multithreading

This commit is contained in:
Simon
2025-07-13 12:43:58 +00:00
parent 68c566caa7
commit 1d8b79cb76

View File

@@ -49,6 +49,7 @@ async fn main() -> std::io::Result<()> {
)
.service(fs::Files::new("/", "static").index_file("index.html"))
})
.workers(8)
// .bind_openssl(("0.0.0.0", 18080), builder)?
.bind(("0.0.0.0", 18080))?
.run()