feat(analytics): lower maturity window to 2 days and reword about page

This commit is contained in:
kairee committed 2026-11-01 12:07:47 +08:00
1 parent b405fc5fd7
commit e7034cfb84
11 files changed
+66 -28

No files matched your search

+2 -2
View File
@@ -40,7 +40,7 @@ DEFAULT_HEAT_WEIGHTS: dict[str, float] = {
DEFAULT_ANALYTICS: dict[str, Any] = {
"min_duration_seconds": 600,
"maturity_days": 14,
"maturity_days": 2,
"min_view_for_efficiency": 0,
"shrink_minutes": None,
}
@@ -459,7 +459,7 @@ def _build_config(data: Mapping[str, Any], path: Path) -> AppConfig:
minimum=0,
),
maturity_days=_as_int(
analytics_raw.get("maturity_days", 14),
analytics_raw.get("maturity_days", 2),
"analytics.maturity_days",
minimum=0,
),