mirror of
https://github.com/NixOS/nix.git
synced 2025-11-18 08:19:35 +01:00
Convert Machine::speedFactor from a non-neg int to a non-neg float
The short motivation is to match Hydra, so we can de-dup. The long version is layed out in https://github.com/NixOS/nix/issues/9840.
This commit is contained in:
parent
f1b0304153
commit
1e24db6f9a
3 changed files with 17 additions and 5 deletions
|
|
@ -13,7 +13,7 @@ struct Machine {
|
|||
const std::set<std::string> systemTypes;
|
||||
const std::string sshKey;
|
||||
const unsigned int maxJobs;
|
||||
const unsigned int speedFactor;
|
||||
const float speedFactor;
|
||||
const std::set<std::string> supportedFeatures;
|
||||
const std::set<std::string> mandatoryFeatures;
|
||||
const std::string sshPublicHostKey;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue