Skip to content

Commit

Permalink
feat(promotion_monitor): add internal server error
Browse files Browse the repository at this point in the history
  • Loading branch information
alextes committed Dec 21, 2023
1 parent 00d76e2 commit a9c3712
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/phoenix/promotion_monitor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -77,9 +77,10 @@ fn format_builder_list(builders: &Vec<(String, String)>) -> String {
}

pub const ELIGIBLE_ERRORS: &[&str] = &[
"HTTP status server error (500 Internal Server Error) for url",
"Post \"http://prio-load-balancer:80\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)",
"json error: request timeout hit before processing",
"simulation failed: unknown ancestor",
"Post \"http://prio-load-balancer:80\": context deadline exceeded (Client.Timeout exceeded while awaiting headers)"
];

fn get_eligible_builders(demotions: Vec<BuilderDemotion>, missed_slots: Vec<i64>) -> Vec<String> {
Expand Down

0 comments on commit a9c3712

Please sign in to comment.