Skip to content

Commit ac7c57e

Browse files
committed
Add comment
1 parent 0174c23 commit ac7c57e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

service/history/workflow/task_generator.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -590,6 +590,7 @@ func (r *TaskGeneratorImpl) GenerateCancelActivityNexusTasks(scheduledEventID in
590590
}
591591

592592
ai, ok := r.mutableState.GetActivityInfo(scheduledEventID)
593+
// If control queue is not set, it means the worker that this activity belongs to does not support Nexus tasks.
593594
if !ok || ai.WorkerControlTaskQueue == "" {
594595
return nil
595596
}

0 commit comments

Comments
 (0)