From ec04337d314a21a0804cf7d11a01d52f0dc2dea1 Mon Sep 17 00:00:00 2001 From: Alex Shtin Date: Thu, 30 Jul 2020 19:09:50 -0700 Subject: [PATCH] Convert attempts to int32 for consistency. --- temporal/api/history/v1/message.proto | 2 +- temporal/api/workflowservice/v1/request_response.proto | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/temporal/api/history/v1/message.proto b/temporal/api/history/v1/message.proto index 91c66134e..d1cfd290f 100644 --- a/temporal/api/history/v1/message.proto +++ b/temporal/api/history/v1/message.proto @@ -118,7 +118,7 @@ message WorkflowTaskScheduledEventAttributes { // (-- api-linter: core::0140::prepositions=disabled // aip.dev/not-precedent: "to" is used to indicate interval. --) google.protobuf.Duration start_to_close_timeout = 2 [(gogoproto.stdduration) = true]; - int64 attempt = 3; + int32 attempt = 3; } message WorkflowTaskStartedEventAttributes { diff --git a/temporal/api/workflowservice/v1/request_response.proto b/temporal/api/workflowservice/v1/request_response.proto index 427732bc1..cb96ff354 100644 --- a/temporal/api/workflowservice/v1/request_response.proto +++ b/temporal/api/workflowservice/v1/request_response.proto @@ -186,7 +186,7 @@ message PollWorkflowTaskQueueResponse { temporal.api.common.v1.WorkflowType workflow_type = 3; int64 previous_started_event_id = 4; int64 started_event_id = 5; - int64 attempt = 6; + int32 attempt = 6; int64 backlog_count_hint = 7; temporal.api.history.v1.History history = 8; bytes next_page_token = 9;