fix(tui): increase history buffer to 60 so sparkline fills completely

This commit is contained in:
2026-05-16 14:01:25 -04:00
parent fc7b6f72e1
commit adf46a1654
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ package monitor
import "time"
const maxHistoryLen = 30
const maxHistoryLen = 60
type SiteHistory struct {
Latencies []time.Duration
+2 -2
View File
@@ -211,8 +211,8 @@ func (m Model) dynamicWidths() (nameW, sparkW int) {
if sparkW < 10 {
sparkW = 10
}
if sparkW > 40 {
sparkW = 40
if sparkW > 60 {
sparkW = 60
}
return
}