mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-24 02:02:36 -04:00
Disable deleted head cleanup
This commit is contained in:
parent
6806d1f242
commit
682dd1093f
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user