Skip to main content

reconcile_timeseries_tables

Function reconcile_timeseries_tables 

pub async fn reconcile_timeseries_tables(
    config_db: &GCSharedConfigDatabase,
    admin: &Arc<QuestDbAdminClient>,
)
Expand description

Ensures every ‘save=true’ datapoint currently in the config has a QuestDB table with the correct retention TTL. Idemponent - safe to call any time the config changes (startup, reload, zip upload).