Apply review suggestions

Co-authored-by: Clément Renault <clement@meilisearch.com>
This commit is contained in:
Tamo
2022-06-29 06:44:16 +02:00
parent 3b309f654a
commit eaf28b0628
2 changed files with 3 additions and 1 deletions

View File

@@ -20,6 +20,8 @@ use crate::{
RoaringBitmapCodec, SmallString32, BEU32,
};
/// The threshold we use to determine after which number of documents we want to clear the
/// soft-deleted database and delete documents for real.
const DELETE_DOCUMENTS_THRESHOLD: u64 = 100_000;
pub struct DeleteDocuments<'t, 'u, 'i> {