async fn delay_for(elapsed: Duration, delay: Duration) {
    if elapsed < delay {
        time::sleep(delay - elapsed).await;
    } else {
        log::info!(
            "Expected to query for records in {:#?}, took {:#?}",
            delay,
            elapsed
        );
    }
}
/// Limit the queries per second against a view in Materialize.
Limit the queries per second against a view in Materialize.
Limit the queries per second against a view in Materialize .
async fn delay_for(elapsed: Duration, delay: Duration) {
    if elapsed < delay {
        time::sleep(delay - elapsed).await;
    } else {
        log::info!(
            "Expected to query for records in {:#?}, took {:#?}",
            delay,
            elapsed
        );
    }
}
async fn delay_for ( elapsed : Duration , delay : Duration ) { if elapsed < delay { time :: sleep ( delay - elapsed ) . await ; } else { log :: info ! ( " " delay elapsed ) ; } }
Limit the queries per second against a view in Materialize.
Limit the queries per second against a view in Materialize .
elapsed
Duration
delay
Duration
elapsed
Duration
delay
Duration