Start 4 worker threads

This commit is contained in:
Valentin Brandl 2019-05-01 16:21:36 +02:00
parent 95f2c987e3
commit 852a31315d
No known key found for this signature in database
GPG Key ID: 30D341DD34118D7D

View File

@ -348,6 +348,7 @@ fn main() -> std::io::Result<()> {
.service(web::resource("/view/bitbucket/{user}/{repo}").to(overview::<Bitbucket>)) .service(web::resource("/view/bitbucket/{user}/{repo}").to(overview::<Bitbucket>))
.default_service(web::resource("").route(web::get().to(p404))) .default_service(web::resource("").route(web::get().to(p404)))
}) })
.workers(4)
.bind(interface)? .bind(interface)?
.run() .run()
} }