Populate correct defaults

This commit is contained in:
Audrius Butkevicius
2014-11-23 18:43:49 +00:00
parent fe2ae4c6c3
commit 262cf63956
3 changed files with 17 additions and 0 deletions

View File

@@ -250,6 +250,10 @@ func (p *Puller) pullerIteration(checksum bool) int {
var pullWg sync.WaitGroup
var doneWg sync.WaitGroup
if debug {
l.Debugln(p, "c", p.copiers, "p", p.pullers, "f", p.finishers)
}
for i := 0; i < p.copiers; i++ {
copyWg.Add(1)
go func() {