Skip to content

Commit

Permalink
Allow client to suggest delay until next retry
Browse files Browse the repository at this point in the history
  • Loading branch information
ast2023 committed Dec 5, 2023
1 parent 2e47a76 commit 0c3cbf0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions temporal/api/failure/v1/message.proto
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,20 @@ 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";

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 {
Expand Down

0 comments on commit 0c3cbf0

Please sign in to comment.