More incremental updates on the dashboard
Some checks failed
rolling-release / build (push) Has been cancelled
rolling-release / rolling-release (push) Has been cancelled

This commit is contained in:
Dmitrii Okunev
2025-06-16 02:36:08 +01:00
parent 31f4ce36ab
commit 5819a2ac26
2 changed files with 3 additions and 3 deletions

View File

@@ -5,4 +5,4 @@ Website = "https://github.com/xaionaro/streamctl"
Name = "streampanel"
ID = "center.dx.streampanel"
Version = "0.1.0"
Build = 408
Build = 410

View File

@@ -51,7 +51,7 @@ import (
const (
dashboardDebug = false
dashboardFullUpdatesInterval = 2 * time.Second
dashboardFullUpdatesInterval = 5 * time.Second
)
func (p *Panel) focusDashboardWindow(
@@ -770,7 +770,7 @@ func (w *dashboardWindow) startUpdatingNoLock(
w.renderStreamStatus(ctx)
observability.Go(ctx, func() {
t := time.NewTicker(1000 * time.Millisecond)
t := time.NewTicker(250 * time.Millisecond)
defer t.Stop()
for {
select {