Limit the number of CPU usage for MeiliSearch #233
curquiza
started this conversation in
Feedback & Feature Proposal
Replies: 1 comment 4 replies
-
Hey thanks for opening this! A few notes from looking: I think it would be as simple as adding an env option to Opt, checking it and defaulting to num_cpus when creating actix server The only downside I can think of is more options. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Based on meilisearch/meilisearch#1706
This would allow users to set the number of CPUs MeiliSearch can use.
Current workaround
Using
cpulimit
https://unix.stackexchange.com/questions/84945/how-can-i-start-a-process-using-cpulimit
Beta Was this translation helpful? Give feedback.
All reactions