mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-03 20:07:09 +02:00
put the threshold back to 10k
This commit is contained in:
parent
b61efd09fc
commit
250be9fe6c
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ use crate::{
|
||||||
|
|
||||||
/// The threshold we use to determine after which number of documents we want to clear the
|
/// The threshold we use to determine after which number of documents we want to clear the
|
||||||
/// soft-deleted database and delete documents for real.
|
/// 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> {
|
pub struct DeleteDocuments<'t, 'u, 'i> {
|
||||||
wtxn: &'t mut heed::RwTxn<'i, 'u>,
|
wtxn: &'t mut heed::RwTxn<'i, 'u>,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue