Skip to content

Commit

Permalink
chore: suppress Wordpress cron errors and treat them as warnings (#1662)
Browse files Browse the repository at this point in the history
Update the Wordpress CloudWatch alarm metric patterns so that failed
cron scheduling errors are treated as warnings instead.
  • Loading branch information
patheard authored Mar 19, 2024
1 parent 97e0b47 commit 7925a71
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions infrastructure/terragrunt/aws/alarms/locals.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ locals {
"AH01630",
"AH01797",
"action=lostpassword&error",
"Cron unschedule event error for hook",
"database error",
"GET /notification-gc-notify/wp-json/wp/v2/pages",
"HTTP/1.1\\\" 301",
Expand All @@ -29,6 +30,7 @@ locals {
"database error",
]
wordpress_warnings = [
"Cron unschedule event error for hook",
"Warning",
"warning",
]
Expand Down

0 comments on commit 7925a71

Please sign in to comment.