Updating thrift definitions to add autopause for batch based update strategies.
This commit is contained in:
parent
2148351b94
commit
f43a257726
2 changed files with 76 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue