mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-01 07:27:35 +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