bot_scaling: Change cores_per_bot to support float
On shared core bots this value can be a percentage of a core, not a full
integer, therefore we need to support float. This is the same as
memory, in which we can expect values that are not ints.
This is only used in calculations today, and we're only populating it with ints now, so this should be transparent.
Reviewed-by: Sean Abraham <email@example.com>
Commit-Queue: Mike Nichols <firstname.lastname@example.org>
Tested-by: Mike Nichols <email@example.com>
2 files changed