From 852a31315de779e5520d3268cd949a81bd1732f6 Mon Sep 17 00:00:00 2001 From: Valentin Brandl Date: Wed, 1 May 2019 16:21:36 +0200 Subject: [PATCH] Start 4 worker threads --- src/main.rs | 1 + 1 file changed, 1 insertion(+) 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() }