Crate mz_dyncfg_file

Source
Expand description

A dyncfg::ConfigSet backed by a local JSON file.

Structsยง

SyncedConfigSet ๐Ÿ”’

Functionsยง

json_to_config_val ๐Ÿ”’
Convert a JSON value to a ConfigVal, using the existing value as a template for the type
sync_file_to_configset
Start a background task that syncs a ConfigSet with a local JSON file. Returns Ok after the initial sync is completed. If the initialization takes longer than config_sync_timeout, an error is returned.