mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-31 20:24:27 -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()
|
defer stream.lock.Unlock()
|
||||||
|
|
||||||
for encoder_id, head := range stream.heads {
|
for encoder_id, head := range stream.heads {
|
||||||
|
if head == DeletedHead {
|
||||||
|
continue
|
||||||
|
}
|
||||||
|
|
||||||
distance := int32(99999)
|
distance := int32(99999)
|
||||||
for _, info := range t.clients {
|
for _, info := range t.clients {
|
||||||
if info.head == -1 {
|
if info.head == -1 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user