agama/rust/agama-autoinstall/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
..
auto_loader.rs update according to review and David suggestion 2026-06-08 16:02:23 +02:00
lib.rs Move kernel_cmdline to agama-utils 2026-01-08 13:18:43 +00:00
loader.rs fix(rust): fix error message 2025-07-25 08:27:28 +01:00
main.rs Cap Tokio worker threads at 32 2026-06-18 12:30:17 +01:00
questions.rs mark properly autoinst question as the one that needs string data 2026-06-15 09:32:03 +02:00
scripts.rs fix: remove trailing whitespace from translatable string 2026-06-15 11:08:56 +02:00