Update the related comment in views.py

This commit is contained in:
tcely
2026-02-03 15:32:17 -05:00
committed by GitHub
parent fd1a88f608
commit 2cc201dd14

View File

@@ -1046,7 +1046,7 @@ class TasksView(ListView):
msg = f'TasksView: queue not found: {task.pk=} {task.queue=}'
log.warning(msg)
return HttpResponseNotFound()
# revoke the task we want to abort
# revoke the task we want to cancel
q.revoke_by_id(id=task.task_id, revoke_once=True)
vn = task.verbose_name or task.task_id or task.pk
if not vn.startswith('[revoked] '):