Disable deleted head cleanup

This commit is contained in:
Zoe Roux 2024-02-12 17:39:24 +01:00
parent 6806d1f242
commit 682dd1093f

View File

@ -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 {