mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 21:46:11 +05:00
refactor
This commit is contained in:
@@ -67,7 +67,7 @@ func (p *Piece) ReadAt(b []byte, off int64) (n int, err error) {
|
|||||||
|
|
||||||
if p.complete {
|
if p.complete {
|
||||||
p.accessed = time.Now().Unix()
|
p.accessed = time.Now().Unix()
|
||||||
p.cache.setPos(p.Id)
|
p.cache.SetPos(p.Id)
|
||||||
}
|
}
|
||||||
|
|
||||||
return n, nil
|
return n, nil
|
||||||
|
|||||||
Reference in New Issue
Block a user