address issue #85
Vladimir Bauer
5 years ago
1 changed file(s) with
2 addition(s)
and
1 deletion(s)
.
Raw diff
Collapse all
Expand all
+2
-1
progress.go
less
more
7
7
"io"
8
8
"io/ioutil"
9
9
"log"
10
"math"
10
11
"os"
11
12
"sync"
12
13
"time"
369
370
}
370
371
371
372
if s.popCompleted && !bs.noPop {
372
bs.priority = -1
373
bs.priority = -(math.MaxInt32 - s.idCount)
373
374
}
374
375
375
376
bs.bufP = bytes.NewBuffer(make([]byte, 0, 128))