Skip to content

Commit

Permalink
[Icinga] Skip updates being skipped.
Browse files Browse the repository at this point in the history
  • Loading branch information
dracos committed May 14, 2024
1 parent 4d94c30 commit f312cd6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/check_fixmystreet
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ sub unsent_update_count {
my $u = FixMyStreet::DB->resultset("Comment")
->to_body([ keys %$bodies ])
->search({ "me.confirmed" => { '<', \"current_timestamp - '5 minutes'::interval" } })
->search({ 'me.send_fail_reason' => { '!=' => 'Skipping posting due to wait' } })
->search($params, { join => "problem" });

return $u->count;
Expand Down

0 comments on commit f312cd6

Please sign in to comment.