Diffusion Cumin c0d72014ee77

Batch size: allow to specify it in percentage

Authored by Volans on Tue, Feb 13, 1:14 PM.

Description

Batch size: allow to specify it in percentage

  • Transports: allow to specify a batch_size_percentage as a float number in the Target constructor to set the batch_size as a percentage of the hosts list.
  • CLI: make the --batch-size option to accept both integers and percentage (i.e. 50%) values.

Bug: T187185
Change-Id: I83ffad27d7fa85177ee5f3a28caa250826febd82

Details

Committed
VolansTue, Feb 13, 2:34 PM
Parents
rCUMIN4a97e2a8c636: Documentation: migrate ReadTheDocs to Python3
Branches
Unknown
Tags
Unknown
References
refs/changes/67/410167/3
ChangeId
I83ffad27d7fa85177ee5f3a28caa250826febd82