This commit is contained in:
@@ -32,7 +32,7 @@ func worker(jobChan <-chan []Job) {
|
||||
}
|
||||
|
||||
func init() {
|
||||
//logger.Log.Infof("number of CPU core: %d", numCPU)
|
||||
//logger.I("number of CPU core: %d", numCPU)
|
||||
// one core for main thread
|
||||
for i := 0; i < numCPU; i++ {
|
||||
wg.Add(1)
|
||||
|
||||
Reference in New Issue
Block a user