feat: Wire memory hygiene retention policy into heartbeat loop (#629)

* feat: Wire memory hygiene retention policy into heartbeat loop

* review fix

* linter fix

* fix tests
This commit is contained in:
Nick Pismenkov
2026-03-06 12:47:21 -08:00
committed by GitHub
parent 5869a9cc62
commit d195222124
5 changed files with 362 additions and 20 deletions
+4 -2
View File
@@ -348,7 +348,8 @@ mod tests {
let hygiene_config = HygieneConfig {
enabled: false,
retention_days: 30,
daily_retention_days: 30,
conversation_retention_days: 7,
cadence_hours: 24,
state_dir: _tmp.path().to_path_buf(),
};
@@ -399,7 +400,8 @@ mod tests {
let hygiene_config = HygieneConfig {
enabled: false,
retention_days: 30,
daily_retention_days: 30,
conversation_retention_days: 7,
cadence_hours: 24,
state_dir: _tmp.path().to_path_buf(),
};