mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 13:36:09 +05:00
revert
This commit is contained in:
@@ -253,11 +253,10 @@ func (c *Cache) CloseReader(r *Reader) {
|
||||
r.Close()
|
||||
delete(r.cache.readers, r)
|
||||
r.cache.muReaders.Unlock()
|
||||
// go c.updatePriority()
|
||||
go c.updatePriority()
|
||||
}
|
||||
|
||||
func (c *Cache) updatePriority() {
|
||||
return
|
||||
time.Sleep(time.Second)
|
||||
ranges := make([]Range, 0)
|
||||
c.muReaders.Lock()
|
||||
|
||||
Reference in New Issue
Block a user