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> |
||
|---|---|---|
| .. | ||
| main.rs | ||