pub fn init_worker_pool_from_env()Expand description
Install the process-wide pool from WARATAH_SERVE_CORES (the value the
launcher writes into each storage child’s environment).
Unset, off, false, and any invalid spec (including auto) run
unpinned; a core-list spec (6, 4-7, 2,3,6-8) pins workers
round-robin over it. The width defaults to the core count when pinned
and to available_parallelism() otherwise; POOL_THREADS_ENV
overrides either. Idempotent.