Skip to main content

is_service_unavailable_code

Function is_service_unavailable_code 

Source
fn is_service_unavailable_code(endpoint: SuotarEndpoint, code: &str) -> bool
Expand description

Whether an item says the registry could not be reached right now. Suotar sends serviceTemporarilyUnavailable only for a whole request, so an item carrying it means its API changed, and is still worth backing off from. On import, sisuTimeout is what every item answers while Sisu is down.