fn should_retry()

in client/src/client.rs [263:269]


    fn should_retry(&self, err: &Error) -> bool {
        match err {
            Error::Network(_) => true,
            Error::Server { http_status, .. } => *http_status >= 500 && *http_status <= 503,
            _ => false,
        }
    }