Skip to content

Commit

Permalink
Add chunks retrieved from cache to seen chunks list
Browse files Browse the repository at this point in the history
  • Loading branch information
anbsky committed Dec 12, 2019
1 parent cd9dda5 commit 22d03fb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/player/player.go
Original file line number Diff line number Diff line change
Expand Up @@ -361,6 +361,7 @@ func (b *chunkGetter) Get(n int) (ReadableChunk, error) {
return reflected, nil
}

b.seenChunks[n] = reflected
return cached, nil
}

Expand Down

0 comments on commit 22d03fb

Please sign in to comment.