diff --git a/temporal/api/failure/v1/message.proto b/temporal/api/failure/v1/message.proto index dcda2321..d4b6fb01 100644 --- a/temporal/api/failure/v1/message.proto +++ b/temporal/api/failure/v1/message.proto @@ -31,6 +31,8 @@ option java_outer_classname = "MessageProto"; option ruby_package = "Temporalio::Api::Failure::V1"; option csharp_namespace = "Temporalio.Api.Failure.V1"; +import "google/protobuf/duration.proto"; + import "temporal/api/common/v1/message.proto"; import "temporal/api/enums/v1/workflow.proto"; @@ -38,6 +40,11 @@ message ApplicationFailureInfo { string type = 1; bool non_retryable = 2; temporal.api.common.v1.Payloads details = 3; + // next_retry_delay can be used by the client to override activity retry + // interval instead of one calculated by the retry policy set by workflow. + // Retry attempt still will be a subject to max retries limit and total + // time limit defined by the policy. + google.protobuf.Duration next_retry_delay = 4; } message TimeoutFailureInfo {