Remove stale client purging. Use sockets to count clients. #323

This commit is contained in:
Gabe Kangas
2020-11-05 00:14:51 -08:00
parent 723a671f1c
commit 4de2841659
4 changed files with 2 additions and 29 deletions

View File

@@ -13,7 +13,6 @@ import (
"github.com/owncast/owncast/config"
"github.com/owncast/owncast/core"
"github.com/owncast/owncast/models"
"github.com/owncast/owncast/router/middleware"
"github.com/owncast/owncast/utils"
)
@@ -47,9 +46,6 @@ func IndexHandler(w http.ResponseWriter, r *http.Request) {
if path.Ext(r.URL.Path) == ".m3u8" {
middleware.DisableCache(w)
client := models.GenerateClientFromRequest(r)
core.SetClientActive(client)
}
// Set a cache control max-age header