1
0
mirror of https://github.com/actix/actix-website synced 2024-12-18 01:43:59 +01:00

Fix outdated info in Server->Multi-Threading section of docs

taken from ##276
This commit is contained in:
Rob Ede 2022-07-30 18:12:15 +01:00 committed by GitHub
parent f33180bf8a
commit 1d338f74de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,7 +20,7 @@ After the `bind` is successful, use [`HttpServer::run()`][httpserver_run] to ret
## Multi-Threading ## Multi-Threading
`HttpServer` automatically starts a number of HTTP _workers_, by default this number is equal to the number of logical CPUs in the system. This number can be overridden with the [`HttpServer::workers()`][workers] method. `HttpServer` automatically starts a number of HTTP _workers_, by default this number is equal to the number of physical CPUs in the system. This number can be overridden with the [`HttpServer::workers()`][workers] method.
<CodeBlock example="server" file="workers.rs" section="workers" /> <CodeBlock example="server" file="workers.rs" section="workers" />