Merge pull request #1167 from tcely/patch-4

Huey tweaks
This commit is contained in:
meeb
2025-07-02 23:53:25 +10:00
committed by GitHub
2 changed files with 1 additions and 2 deletions

View File

@@ -43,7 +43,6 @@ def h_q_dict(q, /):
return dict(
scheduled=(q.scheduled_count(), q.scheduled(),),
pending=(q.pending_count(), q.pending(),),
running=q._tasks_in_flight,
results=(q.result_count(), list(q.all_results().keys()),),
)

View File

@@ -83,7 +83,7 @@ class TaskHistory(models.Model):
def __str__(self):
return u'{} - {}'.format(
self.verbose_name or self.task_name,
self.verbose_name or self.name,
self.end_at,
)