From 250be9fe6cb7f02207324b66b8beff98a0af9d41 Mon Sep 17 00:00:00 2001 From: Tamo Date: Tue, 5 Jul 2022 15:57:44 +0200 Subject: [PATCH] put the threshold back to 10k --- milli/src/update/delete_documents.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/milli/src/update/delete_documents.rs b/milli/src/update/delete_documents.rs index 0221ebc6f..3b519c101 100644 --- a/milli/src/update/delete_documents.rs +++ b/milli/src/update/delete_documents.rs @@ -22,7 +22,7 @@ use crate::{ /// 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; +const DELETE_DOCUMENTS_THRESHOLD: u64 = 10_000; pub struct DeleteDocuments<'t, 'u, 'i> { wtxn: &'t mut heed::RwTxn<'i, 'u>,