StorageConfig

Defined in dccd.daemon.config

class StorageConfig(*, local_path='', remotes=<factory>, sync_interval=3600)[source]

Bases: BaseModel

Local and optional remote storage configuration.

Parameters:
local_pathstr, optional

Root data directory. When omitted, SettingsConfig.data_path is used (propagated by CollectorConfig’s validator).

remoteslist of RemoteConfig

Remote destinations. Empty list (default) keeps data locally only. Multiple entries are all synced by SyncService.

sync_intervalint

Seconds between periodic syncs to remote destinations. 0 disables the sync service. Default is 3600 (1 hour).