Fix transcoder error cache key removal

This commit is contained in:
Zoe Roux 2026-04-01 19:31:01 +02:00
parent 6977ffd5d6
commit 5d26bd6930
No known key found for this signature in database

View File

@ -43,7 +43,7 @@ func (t *Transcoder) getFileStream(path string, sha string) (*FileStream, error)
})
ret.ready.Wait()
if ret.err != nil {
t.streams.Remove(path)
t.streams.Remove(sha)
return nil, ret.err
}
return ret, nil