Interface VacuumConditions

Sets minimum thresholds for dirtCount and dirtFactor that trigger an automatic vacuuming.

interface VacuumConditions {
    minDirtCount?: number;
    minDirtFactor?: number;
}

Properties

minDirtCount?: number

Minimum dirtCount (number of discarded documents since the last vacuuming) under which auto vacuum is not triggered. It defaults to 20.

minDirtFactor?: number

Minimum dirtFactor (proportion of discarded documents over the total) under which auto vacuum is not triggered. It defaults to 0.1.

Generated using TypeDoc