Commit 6826a71
Fix guides/security-analyzer: retention never runs without retention_check_interval
The guide sets retention_check_enabled and retention_period but no
retention_check_interval. RetentionBuilder::build() returns None when
check_interval is unset, so the retention task never starts — silently, with no
warning. With refresh_mode: append nothing else evicts old rows, so the
guide's claim that retention_period keeps a month of history does not hold.
Add retention_check_interval: 1h, say why both settings are needed, and add
the missing step that starts the runtime and runs analyzer.py — the guide
defines the script but never tells the reader to run it.1 parent 3614178 commit 6826a71
1 file changed
Lines changed: 14 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| 96 | + | |
96 | 97 | | |
97 | 98 | | |
98 | 99 | | |
| |||
106 | 107 | | |
107 | 108 | | |
108 | 109 | | |
109 | | - | |
| 110 | + | |
110 | 111 | | |
111 | 112 | | |
112 | 113 | | |
| |||
259 | 260 | | |
260 | 261 | | |
261 | 262 | | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
262 | 275 | | |
263 | 276 | | |
264 | 277 | | |
| |||
0 commit comments