mirror of
https://github.com/xaionaro-go/streamctl.git
synced 2025-09-26 19:41:17 +08:00
More incremental updates on the dashboard
This commit is contained in:
@@ -5,4 +5,4 @@ Website = "https://github.com/xaionaro/streamctl"
|
||||
Name = "streampanel"
|
||||
ID = "center.dx.streampanel"
|
||||
Version = "0.1.0"
|
||||
Build = 408
|
||||
Build = 410
|
||||
|
@@ -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 {
|
||||
|
Reference in New Issue
Block a user