mirror of
https://github.com/owncast/owncast.git
synced 2024-11-29 03:29:03 +03:00
Increase the timeout buffer so viewer count doesn't jump around when not pinging
This commit is contained in:
parent
3ab5298f7f
commit
44cb952c29
1 changed files with 4 additions and 2 deletions
|
@ -11,8 +11,10 @@ import (
|
||||||
"github.com/owncast/owncast/models"
|
"github.com/owncast/owncast/models"
|
||||||
)
|
)
|
||||||
|
|
||||||
var l = &sync.RWMutex{}
|
var (
|
||||||
var _activeViewerPurgeTimeout = time.Second * 10
|
l = &sync.RWMutex{}
|
||||||
|
_activeViewerPurgeTimeout = time.Second * 15
|
||||||
|
)
|
||||||
|
|
||||||
func setupStats() error {
|
func setupStats() error {
|
||||||
s := getSavedStats()
|
s := getSavedStats()
|
||||||
|
|
Loading…
Reference in a new issue