File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ func (t *transferQueueActiveTaskExecutor) processCancelActivityTask(
3232 return nil
3333 }
3434
35- if task . WorkerInstanceKey == "" || len (task .ScheduledEventIDs ) == 0 {
35+ if len (task .ScheduledEventIDs ) == 0 {
3636 return nil
3737 }
3838
@@ -73,8 +73,7 @@ func (t *transferQueueActiveTaskExecutor) processCancelActivityTask(
7373}
7474
7575// getNexusTaskQueue returns the Nexus control queue for a batch of activities.
76- // All activities in a batch are from the same worker (batched by WorkerInstanceKey),
77- // so they share the same control queue. Returns error if control queues are inconsistent.
76+ // All activities in a batch share the same control queue. Returns error if control queues are inconsistent.
7877func getNexusTaskQueue (
7978 mutableState historyi.MutableState ,
8079 scheduledEventIDs []int64 ,
You can’t perform that action at this time.
0 commit comments