mirror of
https://github.com/hatchet-dev/hatchet.git
synced 2025-12-16 22:35:11 -06:00
fix: panic
This commit is contained in:
@@ -792,11 +792,12 @@ func (tc *TasksControllerImpl) handleCancelTasks(ctx context.Context, tenantId s
|
||||
for _, msg := range msgs {
|
||||
for _, task := range msg.Tasks {
|
||||
pubPayloads = append(pubPayloads, tasktypes.CancelledTaskPayload{
|
||||
TaskId: task.Id,
|
||||
InsertedAt: task.InsertedAt,
|
||||
RetryCount: task.RetryCount,
|
||||
EventType: sqlcv1.V1EventTypeOlapCANCELLED,
|
||||
ShouldNotify: true,
|
||||
TaskId: task.Id,
|
||||
InsertedAt: task.InsertedAt,
|
||||
RetryCount: task.RetryCount,
|
||||
EventType: sqlcv1.V1EventTypeOlapCANCELLED,
|
||||
ShouldNotify: true,
|
||||
EventExternalId: uuid.NewString(),
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user