remove invalid validation (#1840)

This commit is contained in:
Andrey Vasnetsov
2023-05-05 10:10:16 +02:00
committed by GitHub
parent 1c48de0a8c
commit bf3561d2eb
2 changed files with 1 additions and 2 deletions

View File

@@ -5351,7 +5351,7 @@
"description": "Maximum available threads for optimization workers",
"type": "integer",
"format": "uint",
"minimum": 1,
"minimum": 0,
"nullable": true
}
}

View File

@@ -124,7 +124,6 @@ pub struct OptimizersConfigDiff {
/// Minimum interval between forced flushes.
pub flush_interval_sec: Option<u64>,
/// Maximum available threads for optimization workers
#[validate(range(min = 1))]
pub max_optimization_threads: Option<usize>,
}