mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-25 07:41:00 +00:00
apply review comment
This commit is contained in:
@ -245,7 +245,7 @@ impl BatchQueue {
|
||||
wtxn,
|
||||
self.enqueued_at,
|
||||
old_batch.started_at,
|
||||
if old_batch.stats.total_nb_tasks >= 2 { 2 } else { 1 },
|
||||
old_batch.stats.total_nb_tasks.clamp(1, 2) as usize,
|
||||
old_batch.uid,
|
||||
)?;
|
||||
}
|
||||
|
Reference in New Issue
Block a user