mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
3a6df6fcea
The Dockerfile FIX #3 comment claimed the in-image `ulimit -u` raised the cgroup pids.max (target 16384). It cannot: `ulimit -u` only lifts this process's RLIMIT_NPROC; the cgroup pids.max is set by the container runtime (--pids-limit), is platform-fixed at 1000 on staging, and is not raisable from the image. Rewrite the comment to state this accurately and point at the real demand-side mitigation (fewer concurrent contexts + gauge/alarm). The harmless `ulimit -u` line itself is retained. Also update the env test to assert the new MAX_CONTEXTS default of 24.
11 KiB
11 KiB