mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-17 23:47:33 +00:00
Worker count, video-extraction slots and the shader thread pool read the host core count, so a container limited to 6 cores on a 32-vCPU host sized itself for 32. Read the cgroup CPU quota (v2 cpu.max, v1 cfs quota/period) next to the existing cgroup memory probe and use the smaller of it and availableParallelism().