This commit is contained in:
yourok
2019-09-20 13:16:23 +03:00
parent 4a76096db8
commit f802d1f94c

View File

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