Start 4 worker threads
This commit is contained in:
parent
95f2c987e3
commit
852a31315d
@ -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()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user