Import in v0.10 Concurrent mechanism

This commit is contained in:
TeoV
2020-07-09 16:39:26 +03:00
parent 95b765f8e6
commit 40987e13fd
18 changed files with 972 additions and 125 deletions

View File

@@ -389,7 +389,8 @@ func main() {
lgLevel = *logLevel
}
utils.Logger.SetLogLevel(lgLevel)
// init the concurrentRequests
utils.ConReqs = utils.NewConReqs(cfg.GeneralCfg().ConcurrentRequests, cfg.GeneralCfg().ConcurrentStrategy)
utils.Logger.Info(fmt.Sprintf("<CoreS> starting version <%s><%s>", vers, goVers))
cfg.LazySanityCheck()