Help text in Worker.task_count says Count of processed tasks, see
|
task_count = models.PositiveIntegerField(blank=True, default=0, help_text=_("Count of processed tasks.<br />This is a generated field.")) |
But in reality it records the count of opened tasks, see
|
tasks = Task.objects.opened().filter(worker=self) |
|
self.task_count = tasks.count() |
Help text in
Worker.task_countsaysCount of processed tasks, seekobo/kobo/hub/models.py
Line 197 in 84434c5
kobo/kobo/hub/models.py
Lines 208 to 209 in 84434c5