pub const MAX_SCAN_INDEX: usize = 1024;Expand description
Safety bound on the snapshots.*.threads.N.tid scan in
lookup_thread, snapshot_worker_allocated, thread_count,
and snapshot_count. Realistic probe runs see at most a few
dozen threads in a single-allocator worker process; hitting this
cap indicates either an unexpectedly wide target or a flat-metric
schema change that broke the terminator convention.