Adding support for autopause and modifying the update status monitor to automatically multiply values below a second by a second.

This commit is contained in:
Renan DelValle 2019-03-14 14:58:30 -07:00
parent 5f1582ff50
commit b50188273a
No known key found for this signature in database
GPG key ID: C240AD6D6F443EC9
4 changed files with 148 additions and 0 deletions

View file

@ -726,6 +726,8 @@ struct QueueJobUpdateStrategy {
*/
struct BatchJobUpdateStrategy {
1: i32 groupSize
/* Update will pause automatically after each batch completes */
2: bool autopauseAfterBatch
}
/** Same as Batch strategy but each time an active group completes, the size of the next active
@ -733,6 +735,8 @@ struct BatchJobUpdateStrategy {
*/
struct VariableBatchJobUpdateStrategy {
1: list<i32> groupSizes
/* Update will pause automatically after each batch completes */
2: bool autopauseAfterBatch
}
union JobUpdateStrategy {