mirror of
https://github.com/livekit/livekit.git
synced 2026-03-30 15:35:41 +00:00
Rework receiver restart. (#4202)
* Rework receiver restart. - Protect against concurrent restarts - Clean up and consolidate code around restarts - Use `RestartStream` of buffer rather than creating new buffers. * fix test
This commit is contained in:
@@ -128,7 +128,6 @@ func (oq *opsQueueBase[T]) Enqueue(op T) {
|
||||
select {
|
||||
case oq.wake <- struct{}{}:
|
||||
default:
|
||||
oq.params.Logger.Debugw("could not wake ops queue", "name", oq.params.Name)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user