agama/rust/xtask/src
Imobach González Sosa b6daa08cbc
Cap Tokio worker threads at 32
Add a helper function in agama-utils to create Tokio runtimes with
a capped number of worker threads (min(cores, 32)). This prevents
excessive thread creation on high-core-count systems.

The run_async() helper replaces #[tokio::main] across all binaries
with a consistent, configurable runtime setup.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-06-18 12:30:17 +01:00
..
main.rs Cap Tokio worker threads at 32 2026-06-18 12:30:17 +01:00