proto/gateway.proto in zeebe-client-0.7.0 vs proto/gateway.proto in zeebe-client-0.8.0
- old
+ new
@@ -20,9 +20,13 @@
// the maximum jobs to activate by this request
int32 maxJobsToActivate = 4;
// a list of variables to fetch as the job variables; if empty, all visible variables at
// the time of activation for the scope of the job will be returned
repeated string fetchVariable = 5;
+ // The request will be completed when at least one job is activated or after the requestTimeout.
+ // if the requestTimeout = 0, a default timeout is used.
+ // if the requestTimeout < 0, long polling is disabled and the request is completed immediately, even when no job is activated.
+ int64 requestTimeout = 6;
}
message ActivateJobsResponse {
// list of activated jobs
repeated ActivatedJob jobs = 1;