20260501 修复CurrentRepoIndex完整性并优化replay guard
This commit is contained in:
@@ -9,6 +9,7 @@ pub struct ParallelPhase1Config {
|
||||
pub struct ParallelPhase2Config {
|
||||
pub object_workers: usize,
|
||||
pub worker_queue_capacity: usize,
|
||||
pub ready_batch_size: usize,
|
||||
}
|
||||
|
||||
impl Default for ParallelPhase2Config {
|
||||
@@ -16,6 +17,7 @@ impl Default for ParallelPhase2Config {
|
||||
Self {
|
||||
object_workers: 8,
|
||||
worker_queue_capacity: 256,
|
||||
ready_batch_size: 256,
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -47,5 +49,6 @@ mod tests {
|
||||
let cfg = ParallelPhase2Config::default();
|
||||
assert!(cfg.object_workers > 0);
|
||||
assert!(cfg.worker_queue_capacity > 0);
|
||||
assert!(cfg.ready_batch_size > 0);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user