diff options
author | eldritch horrors <pennae@lix.systems> | 2024-03-04 08:40:38 +0100 |
---|---|---|
committer | eldritch horrors <pennae@lix.systems> | 2024-03-04 08:40:38 +0100 |
commit | 2bb0a063466e7ef940b91d6eb441d4a0c5f0fb1f (patch) | |
tree | 6cc9486faf829e8da3cac95c11980388f942a926 /src/libstore/machines.hh | |
parent | 044c117a9f8ae92241076b2afa1a419cdc912c5e (diff) |
Merge pull request #9841 from obsidiansystems/float-speed-factor
Convert `Machine::speedFactor` from a non-neg int to a non-neg float
(cherry picked from commit 69d0ae27e376e7c7c4f237716b0149223b8a805a)
Change-Id: I2afb5cf9e4fe1384985c58353946135c3d102b42
Diffstat (limited to 'src/libstore/machines.hh')
-rw-r--r-- | src/libstore/machines.hh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/machines.hh b/src/libstore/machines.hh index 1bca74c28..8516409d4 100644 --- a/src/libstore/machines.hh +++ b/src/libstore/machines.hh @@ -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; |