-
Hey everyone! I try to experiment with Lithium in Ubuntu 18.04 on a virtual machine.
While testing I can see in htop that only 1 of 4 cores is used, while rust/hyper uses all of them. How can I configure Lithium to run on all cores? Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
matt-42
Aug 25, 2022
Replies: 1 comment 6 replies
-
You can use the s::nthreads options: |
Beta Was this translation helpful? Give feedback.
6 replies
Answer selected by
matt-42
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use the s::nthreads options:
http_serve(api, port, s::nthreads = __number_of_threads_you_want__);