Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion service/worker/batcher/activities.go
Original file line number Diff line number Diff line change
Expand Up @@ -716,6 +716,10 @@ func startTaskProcessorProtobuf(
}
var err error

if task.execution == nil {
continue
}

switch operation := batchOperation.Request.Operation.(type) {
case *workflowservice.StartBatchOperationRequest_TerminationOperation:
err = processTask(ctx, limiter, task,
Expand Down Expand Up @@ -904,7 +908,6 @@ func processTask(
task task,
procFn func(*commonpb.WorkflowExecution) error,
) error {

err := limiter.Wait(ctx)
if err != nil {
return err
Expand Down
Loading