num_cpus v1.13 gains automatic cgroups support!https://github.com/seanmonstar/num_cpus/releases/tag/v1.13.0 …
-
-
So `get()` will respect the cgroups limits?
-
Yep! So `docker run --cpus=1.5` will mean num_cpus will report 2, even if your machine has 16, for example.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.