#[derive(Debug, Clone)]
pub struct Config {
pub store_root: std::path::PathBuf,
pub fuse_cache_max_entries: usize,
pub max_concurrent_downloads: usize,
pub download_retries: u32,
pub retry_base_delay_ms: u64,
}
impl Default for Config {
fn default() -> Self {
Self {
store_root: std::path::PathBuf::from("/stores"),
fuse_cache_max_entries: 10_000,
max_concurrent_downloads: 20,
download_retries: 3,
retry_base_delay_ms: 500,
}
}
}