reduce http workers to 16
This commit is contained in:
parent
172a072c36
commit
f64882b091
1 changed files with 1 additions and 1 deletions
|
|
@ -79,7 +79,7 @@ env!("CARGO_PKG_VERSION"));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
HttpServer::new(address, 64, trusted_proxies).start(|request, mut response| {
|
HttpServer::new(address, 16, trusted_proxies).start(|request, mut response| {
|
||||||
response.status(StatusCode::OK);
|
response.status(StatusCode::OK);
|
||||||
response.set_header("Content-Type", "text/plain".to_string());
|
response.set_header("Content-Type", "text/plain".to_string());
|
||||||
response.set_header("x-powered-by", "GIRL FUEL".to_string());
|
response.set_header("x-powered-by", "GIRL FUEL".to_string());
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue