Skip to main content

DEFAULT_INDEX_BLOB_WARN_THRESHOLD

Constant DEFAULT_INDEX_BLOB_WARN_THRESHOLD 

Source
pub const DEFAULT_INDEX_BLOB_WARN_THRESHOLD: i64 = 1000;
Expand description

Default spec.health.indexBlobWarnThreshold: the index-blob count above which the reconciler warns that maintenance isn’t keeping up. A freshly-compacted repo sits near zero; a wedged-maintenance repo climbs unbounded (a real one reached 1448). Conservative so it only fires when maintenance is clearly behind. Overridable per-repo; 0 disables the warning. Part of the documented API contract, so it lives here rather than in the controller.