mirror of
https://github.com/xaionaro-go/streamctl.git
synced 2025-09-27 03:45:52 +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"
|
Name = "streampanel"
|
||||||
ID = "center.dx.streampanel"
|
ID = "center.dx.streampanel"
|
||||||
Version = "0.1.0"
|
Version = "0.1.0"
|
||||||
Build = 408
|
Build = 410
|
||||||
|
@@ -51,7 +51,7 @@ import (
|
|||||||
|
|
||||||
const (
|
const (
|
||||||
dashboardDebug = false
|
dashboardDebug = false
|
||||||
dashboardFullUpdatesInterval = 2 * time.Second
|
dashboardFullUpdatesInterval = 5 * time.Second
|
||||||
)
|
)
|
||||||
|
|
||||||
func (p *Panel) focusDashboardWindow(
|
func (p *Panel) focusDashboardWindow(
|
||||||
@@ -770,7 +770,7 @@ func (w *dashboardWindow) startUpdatingNoLock(
|
|||||||
w.renderStreamStatus(ctx)
|
w.renderStreamStatus(ctx)
|
||||||
|
|
||||||
observability.Go(ctx, func() {
|
observability.Go(ctx, func() {
|
||||||
t := time.NewTicker(1000 * time.Millisecond)
|
t := time.NewTicker(250 * time.Millisecond)
|
||||||
defer t.Stop()
|
defer t.Stop()
|
||||||
for {
|
for {
|
||||||
select {
|
select {
|
||||||
|
Reference in New Issue
Block a user