mirror of
https://github.com/jumpserver/jumpserver.git
synced 2026-04-04 19:32:41 +00:00
perf: job executed fail api
This commit is contained in:
@@ -327,7 +327,7 @@ class DatesLoginMetricMixin:
|
||||
|
||||
@lazyproperty
|
||||
def jobs_executed_failed_amount(self):
|
||||
return self.jobs_executed_queryset.objects.filter(
|
||||
return self.jobs_executed_queryset.filter(
|
||||
status=JobStatus.failed).count()
|
||||
|
||||
@lazyproperty
|
||||
|
||||
Reference in New Issue
Block a user