use std::time::Duration;
pub const METHOD: &str = "POST";
pub const POLL_INTERVAL_SECS: u64 = 60;
pub const RETRY_MAX_ATTEMPTS: u32 = 3;
pub const RETRY_INITIAL_DELAY_SECS: u64 = 5;
pub const RETRY_MAX_DELAY_SECS: u64 = 60;
pub const RETRY_MULTIPLIER: f64 = 2.0;
#[must_use]
pub const fn poll_interval() -> Duration {
Duration::from_secs(POLL_INTERVAL_SECS)
}
#[must_use]
pub const fn retry_initial_delay() -> Duration {
Duration::from_secs(RETRY_INITIAL_DELAY_SECS)
}
#[must_use]
pub const fn retry_max_delay() -> Duration {
Duration::from_secs(RETRY_MAX_DELAY_SECS)
}