Fixes for obfuscated2

This commit is contained in:
9seconds
2021-03-18 17:15:55 +03:00
parent 0ad2d61742
commit 0330a0e5cd
14 changed files with 335 additions and 19 deletions
+1 -1
View File
@@ -323,7 +323,7 @@ func NewFirehol(logger mtglib.Logger, network mtglib.Network,
}
if downloadConcurrency == 0 {
downloadConcurrency = 1
downloadConcurrency = DefaultDownloadConcurrency
}
workerPool, _ := ants.NewPool(int(downloadConcurrency))
+8
View File
@@ -0,0 +1,8 @@
package ipblocklist
import "time"
const (
DefaultDownloadConcurrency = 1
DefaultUpdateEach = 12 * time.Hour
)