Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mouday committed Feb 24, 2024
1 parent 6322036 commit 7f33a84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion domain_admin/service/monitor_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def handle_monitor_exception(monitor_row, error):
).order_by(
LogMonitorModel.id.desc()
).limit(
monitor_row.allow_error_count
monitor_row.allow_error_count + 1
)

error_count = len([row for row in rows if row.status == MonitorStatusEnum.ERROR])
Expand Down

0 comments on commit 7f33a84

Please sign in to comment.