Increase the timeout buffer so viewer count doesn't jump around when not pinging
This commit is contained in:
parent
3ab5298f7f
commit
44cb952c29
@ -11,8 +11,10 @@ import (
|
||||
"github.com/owncast/owncast/models"
|
||||
)
|
||||
|
||||
var l = &sync.RWMutex{}
|
||||
var _activeViewerPurgeTimeout = time.Second * 10
|
||||
var (
|
||||
l = &sync.RWMutex{}
|
||||
_activeViewerPurgeTimeout = time.Second * 15
|
||||
)
|
||||
|
||||
func setupStats() error {
|
||||
s := getSavedStats()
|
||||
|
Loading…
x
Reference in New Issue
Block a user