diff --git a/internal/monitor/history.go b/internal/monitor/history.go index 1049e04..69a7f4d 100644 --- a/internal/monitor/history.go +++ b/internal/monitor/history.go @@ -2,7 +2,7 @@ package monitor import "time" -const maxHistoryLen = 30 +const maxHistoryLen = 60 type SiteHistory struct { Latencies []time.Duration diff --git a/internal/tui/tab_sites.go b/internal/tui/tab_sites.go index ffd50dc..9417d9c 100644 --- a/internal/tui/tab_sites.go +++ b/internal/tui/tab_sites.go @@ -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 }