mirror of
https://github.com/zoriya/Kyoo.git
synced 2026-06-03 04:02:34 +00:00
Disable deleted head cleanup
This commit is contained in:
@@ -177,6 +177,10 @@ func (t *Tracker) killOrphanedeheads(stream *Stream) {
|
||||
defer stream.lock.Unlock()
|
||||
|
||||
for encoder_id, head := range stream.heads {
|
||||
if head == DeletedHead {
|
||||
continue
|
||||
}
|
||||
|
||||
distance := int32(99999)
|
||||
for _, info := range t.clients {
|
||||
if info.head == -1 {
|
||||
|
||||
Reference in New Issue
Block a user