refactor: centralize CPU core detection using cgroup-aware utility
Release / create-release (push) Successful in 2m26s
Release / build-linux-x86_64 (push) Successful in 8m13s
Release / build-macos-arm64 (push) Successful in 1m43s
ci.yml / build (pull_request) Canceled after 1h29m17s

Introduce `obisys::effective_parallelism()` to read Linux cgroup v1/v2 CPU quotas from sysfs, preventing thread pool oversubscription in containerized environments. Replace direct `std::thread::available_parallelism()` calls across `obikindex` and `obikmer` with this centralized function. Bump `obikmer` version to 1.1.41.
This commit is contained in:
Eric Coissac
2026-08-11 12:23:05 +02:00
parent 2e7cfc4368
commit 5f95e866f8
8 changed files with 97 additions and 19 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
name: CI
pname: CI
on:
pull_request: