Skip to content

Commit

Permalink
Populate Sticky TaskListKind in RespondTaskCompleted request
Browse files Browse the repository at this point in the history
  • Loading branch information
shijiesheng committed Sep 19, 2024
1 parent 4d4c09f commit 6eec104
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/internal_task_pollers.go
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ func (wtp *workflowTaskPoller) RespondTaskCompleted(completedRequest interface{}
case *s.RespondDecisionTaskCompletedRequest:
if request.StickyAttributes == nil && !wtp.disableStickyExecution {
request.StickyAttributes = &s.StickyExecutionAttributes{
WorkerTaskList: &s.TaskList{Name: common.StringPtr(getWorkerTaskList(wtp.stickyUUID))},
WorkerTaskList: &s.TaskList{Name: common.StringPtr(getWorkerTaskList(wtp.stickyUUID)), Kind: s.TaskListKindSticky.Ptr()},
ScheduleToStartTimeoutSeconds: common.Int32Ptr(common.Int32Ceil(wtp.StickyScheduleToStartTimeout.Seconds())),
}
} else {
Expand Down

0 comments on commit 6eec104

Please sign in to comment.