Repository navigation
Commit b99ddcc
committed
fix(api): expire MongoDB heartbeats after 60 days
Add a single-field TTL index on heartbeat timestamps while preserving the existing query index.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: f27d8f52-9620-4ee2-a564-ec4870a5f8401 parent dc0359f commit b99ddcc
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
112 | 118 | | |
113 | 119 | | |
114 | 120 | | |
| |||
0 commit comments