Skip to content

Commit

Permalink
Fix issue where new task was not returned in sticky-disabled scenarios (
Browse files Browse the repository at this point in the history
#589)

* Remove disabling of return new workflow task
  • Loading branch information
cretz authored Oct 18, 2021
1 parent f33117f commit 6bbdd9e
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions internal/internal_task_pollers.go
Original file line number Diff line number Diff line change
Expand Up @@ -392,8 +392,6 @@ func (wtp *workflowTaskPoller) RespondTaskCompleted(completedRequest interface{}
},
ScheduleToStartTimeout: &wtp.StickyScheduleToStartTimeout,
}
} else {
request.ReturnNewWorkflowTask = false
}
response, err = wtp.service.RespondWorkflowTaskCompleted(grpcCtx, request)
if err != nil {
Expand Down

0 comments on commit 6bbdd9e

Please sign in to comment.