use crate::{event::BrokerEvent, msg::RunId, run::Run};
// how long to retry when SQL fails for busy database
const MAX_WAIT: Duration = Duration::from_millis(5_000);
const MAX_WAIT: Duration = Duration::from_millis(60_000);
/// The CI broker database. It stores the data that needs to be
/// persistent, even if the process terminates.