Type alias VacuumConditions

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

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

Type declaration

  • Optional minDirtCount?: number

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

  • Optional 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