Skip to content

Commit

Permalink
fix(agent-request-failure): Skip archived servers
Browse files Browse the repository at this point in the history
  • Loading branch information
balamurali27 committed Dec 23, 2024
1 parent 62beb44 commit 13f9663
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ def remove_old_failures():
failures = frappe.get_all(
"Agent Request Failure",
["name", "server_type", "server", "failure_count"],
{"status": ("!=", "Archived")},
order_by="creation ASC",
)
for failure in failures:
Expand Down

0 comments on commit 13f9663

Please sign in to comment.