Skip to content

Commit

Permalink
add complete log
Browse files Browse the repository at this point in the history
  • Loading branch information
MagicalTux committed Jan 13, 2020
1 parent 48e06ad commit 7e348a7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions idle.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ func (f *File) FirstMissing() int64 {
}

if int64(f.status.GetCardinality()) == blkCount {
log.Printf("idle: file is now complete, marking as such")
// we already have all blocks
f.complete = true
f.savePart()
Expand Down

0 comments on commit 7e348a7

Please sign in to comment.