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 9, 2024
1 parent f5ec359 commit 7e55e71
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 @@ -445,7 +445,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 7e55e71

Please sign in to comment.