diff --git a/src/main.rs b/src/main.rs index f2d38d2..2273028 100644 --- a/src/main.rs +++ b/src/main.rs @@ -348,6 +348,7 @@ fn main() -> std::io::Result<()> { .service(web::resource("/view/bitbucket/{user}/{repo}").to(overview::)) .default_service(web::resource("").route(web::get().to(p404))) }) + .workers(4) .bind(interface)? .run() }