mirror of
https://github.com/owncast/owncast.git
synced 2024-11-25 06:12:23 +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"
|
||||
)
|
||||
|
||||
var l = &sync.RWMutex{}
|
||||
var _activeViewerPurgeTimeout = time.Second * 10
|
||||
var (
|
||||
l = &sync.RWMutex{}
|
||||
_activeViewerPurgeTimeout = time.Second * 15
|
||||
)
|
||||
|
||||
func setupStats() error {
|
||||
s := getSavedStats()
|
||||
|
|
Loading…
Reference in a new issue