This commit is contained in:
shoopea 2019-05-11 11:24:11 +08:00
parent f0d6f108f5
commit b3247eaa0a

View File

@ -146,9 +146,11 @@ func SQLJobWorker(id int) {
if len(jobs) > 0 {
log.Printf("SQLJobWorker["+strconv.Itoa(id)+"] : %d jobs.\n", len(jobs))
}
for _, j := range jobs {
/*
for _, j := range jobs {
}
}
*/
if len(jobs) < SQLJobSliceSize {
time.Sleep(100 * time.Millisecond)
}