Skip to content

Commit

Permalink
Merge branch 'master' into admin-dev-3
Browse files Browse the repository at this point in the history
  • Loading branch information
longquanzheng authored Jun 5, 2018
2 parents 64eda77 + 6573843 commit 044488d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions service/history/historyEngine.go
Original file line number Diff line number Diff line change
Expand Up @@ -1377,6 +1377,8 @@ Update_History_Loop:
if request.GetReturnNewDecisionTask() && createNewDecisionTask {
di, _ := msBuilder.GetPendingDecision(newDecisionTaskScheduledID)
response.StartedResponse = e.createRecordDecisionTaskStartedResponse(domainID, msBuilder, di, request.GetIdentity())
// sticky is always enabled when worker request for new decision task from RespondDecisionTaskCompleted
response.StartedResponse.StickyExecutionEnabled = common.BoolPtr(true)
}

return response, nil
Expand Down

0 comments on commit 044488d

Please sign in to comment.