Dampen stream allocator (#551)

* WIP commit

* WIP commit

* WIP commit

* format

* NACK window

* Remove layer when it is expected to stop

* Remove debug
This commit is contained in:
Raja Subramanian
2022-03-22 22:23:22 +05:30
committed by GitHub
parent 779fe0f549
commit 076eb1c8ae
5 changed files with 210 additions and 120 deletions
+3 -3
View File
@@ -22,9 +22,9 @@ var (
func initRoomStats(nodeID string) {
promRoomTotal = prometheus.NewGauge(prometheus.GaugeOpts{
Namespace: livekitNamespace,
Subsystem: "room",
Name: "total",
Namespace: livekitNamespace,
Subsystem: "room",
Name: "total",
ConstLabels: prometheus.Labels{"node_id": nodeID},
})
promRoomDuration = prometheus.NewHistogram(prometheus.HistogramOpts{