bz2: limit max concurrent CPU (#13458)

Ensure that bz2 decompression will never take more than 50% CPU.
This commit is contained in:
Klaus Post
2021-10-18 08:44:36 -07:00
committed by GitHub
parent feabd0430c
commit c2eb60df4a
4 changed files with 16 additions and 5 deletions

2
go.mod
View File

@@ -16,7 +16,7 @@ require (
github.com/cheggaaa/pb v1.0.29
github.com/colinmarc/hdfs/v2 v2.2.0
github.com/coredns/coredns v1.4.0
github.com/cosnicolaou/pbzip2 v1.0.0
github.com/cosnicolaou/pbzip2 v1.0.1
github.com/dchest/siphash v1.2.1
github.com/djherbis/atime v1.0.0
github.com/dswarbrick/smart v0.0.0-20190505152634-909a45200d6d