diff --git a/stats.go b/stats.go index e7cbd7ece..15afb7cef 100644 --- a/stats.go +++ b/stats.go @@ -30,7 +30,7 @@ type Stats struct { func (s *Stats) Setup() { s.clients = make(map[string]time.Time) - statsSaveTimer := time.NewTicker(2 * time.Minute) + statsSaveTimer := time.NewTicker(1 * time.Minute) go func() { for { select { @@ -40,7 +40,7 @@ func (s *Stats) Setup() { } }() - staleViewerPurgeTimer := time.NewTicker(5 * time.Second) + staleViewerPurgeTimer := time.NewTicker(3 * time.Second) go func() { for { select { diff --git a/webroot/index.html b/webroot/index.html index 4543fe859..477fc1cd5 100644 --- a/webroot/index.html +++ b/webroot/index.html @@ -15,6 +15,10 @@ + @@ -53,11 +57,12 @@