Mercurial > public > mercurial-scm > hg
view rust/hg-core/src/config.rs @ 49763:c52435820bbd stable
rust-status: fix thread count ceiling
This was forcing 16 threads instead of creating a ceiling, which is wrong
when either the available parallelism of the platform is lower or when
the user wants to set it explicitly (like we do in `run-tests.py`)
author | Rapha?l Gom?s <rgomes@octobus.net> |
---|---|
date | Mon, 05 Dec 2022 17:28:40 +0100 |
parents | 467d9df98c68 |
children |
line wrap: on
line source
// config.rs // // Copyright 2020 // Valentin Gatien-Baron, // Raphaël Gomès <rgomes@octobus.net> // // This software may be used and distributed according to the terms of the // GNU General Public License version 2 or any later version. //! Mercurial config parsing and interfaces. mod config; mod layer; mod plain_info; mod values; pub use config::{Config, ConfigSource, ConfigValueParseError}; pub use layer::{ConfigError, ConfigOrigin, ConfigParseError}; pub use plain_info::PlainInfo;