Skip to content

Commit 4fd842b

Browse files
authored
Convert attempts to int32 for consistency (#85)
1 parent 16eb13f commit 4fd842b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

temporal/api/history/v1/message.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ message WorkflowTaskScheduledEventAttributes {
118118
// (-- api-linter: core::0140::prepositions=disabled
119119
// aip.dev/not-precedent: "to" is used to indicate interval. --)
120120
google.protobuf.Duration start_to_close_timeout = 2 [(gogoproto.stdduration) = true];
121-
int64 attempt = 3;
121+
int32 attempt = 3;
122122
}
123123

124124
message WorkflowTaskStartedEventAttributes {

temporal/api/workflowservice/v1/request_response.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ message PollWorkflowTaskQueueResponse {
186186
temporal.api.common.v1.WorkflowType workflow_type = 3;
187187
int64 previous_started_event_id = 4;
188188
int64 started_event_id = 5;
189-
int64 attempt = 6;
189+
int32 attempt = 6;
190190
int64 backlog_count_hint = 7;
191191
temporal.api.history.v1.History history = 8;
192192
bytes next_page_token = 9;

0 commit comments

Comments
 (0)