mirror of
https://github.com/livekit/livekit.git
synced 2026-08-29 11:59:28 +00:00
Adjust stream allocator ping interval based on state. (#3951)
* Adjust stream allocator ping interval based on state. In steady state, does a 15 second ping. While deficient, to be able to react to probes faster, it pings at 100ms interval. * clean up * log ops queue not able to wake up
This commit is contained in:
@@ -128,6 +128,7 @@ func (oq *opsQueueBase[T]) Enqueue(op T) {
|
||||
select {
|
||||
case oq.wake <- struct{}{}:
|
||||
default:
|
||||
oq.params.Logger.Infow("could not wake ops queue", "name", oq.params.Name)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user