Added the import/cleanup functionality
CI / check (push) Failing after 43s
CI / docker (push) Has been skipped

This commit is contained in:
Connor Johnstone
2026-03-24 15:58:14 -04:00
parent 929772512e
commit 49d1d2252e
6 changed files with 18 additions and 4 deletions
+8
View File
@@ -69,6 +69,9 @@ pub struct TaggingConfig {
#[serde(default = "default_confidence")]
pub confidence: f64,
#[serde(default = "default_tag_concurrency")]
pub concurrency: usize,
}
#[derive(Debug, Clone, Serialize, Deserialize)]
@@ -243,10 +246,15 @@ impl Default for TaggingConfig {
auto_tag: false,
write_tags: true,
confidence: default_confidence(),
concurrency: default_tag_concurrency(),
}
}
}
fn default_tag_concurrency() -> usize {
4
}
impl Default for DownloadConfig {
fn default() -> Self {
Self {