use std::time::Duration;
use mz_dyncfg::{Config, ConfigSet};
pub const CONTROLLER_PAST_GENERATION_REPLICA_CLEANUP_RETRY_INTERVAL: Config<Duration> = Config::new(
"controller_past_generation_replica_cleanup_retry_interval",
Duration::from_secs(300),
"The interval at which to attempt to retry cleaning up replicas from past generations.",
);
pub const WALLCLOCK_LAG_REFRESH_INTERVAL: Config<Duration> = Config::new(
"wallclock_lag_refresh_interval",
Duration::from_secs(60),
"The interval at which to refresh wallclock lag introspection.",
);
pub fn all_dyncfgs(configs: ConfigSet) -> ConfigSet {
configs
.add(&CONTROLLER_PAST_GENERATION_REPLICA_CLEANUP_RETRY_INTERVAL)
.add(&WALLCLOCK_LAG_REFRESH_INTERVAL)
}