agama/rust/agama-utils
Imobach González Sosa 275aa03356
refactor(rust): tune Tokio runtimes per binary
Use lighter Tokio runtimes matched to each binary's workload:

- agama-web-server: cap worker threads at min(cores, 4) instead of 32,
  which was oversized for the installer's low-concurrency, I/O-bound web
  server.
- agama and agama-autoinstall: switch to a current_thread runtime via
  #[tokio::main(flavor = "current_thread")]. Both are short-lived,
  sequential, I/O-bound CLIs with no reliance on multi-worker
  parallelism.

Since the multi-threaded runtime helper is now only used by the server
(and xtask, which already depends on it), move the `runtime` module from
agama-utils to the agama-server crate.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-15 12:51:11 +01:00
..
src refactor(rust): tune Tokio runtimes per binary 2026-07-15 12:51:11 +01:00
Cargo.toml move dependencies to workspace for easier sharing of version 2026-06-22 15:33:58 +02:00