Repository navigation
Commit 4a741f0
feat(telemetry): keep 2 MiB of trip history instead of 512 KiB
512 KiB held roughly fourteen short trips' tracks, so every new drive
evicted older ones and the consumption model lost segments as trips were
added (51 to 47 on SWI68). All readers parse off the main thread and the
write is atomic; the cost is parse time and memory per read.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>1 parent 10e5876 commit 4a741f0
2 files changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
9 | 18 | | |
10 | 19 | | |
11 | 20 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
0 commit comments