test
This commit is contained in:
parent
a2ccadb2d4
commit
6b6b33e078
@ -143,7 +143,9 @@ func SQLJobWorker(id int) {
|
||||
for true {
|
||||
jobs, err := loadCurrentJobs()
|
||||
logOnError(err, "SQLJobWorker["+strconv.Itoa(id)+"] : loadCurrentJobs")
|
||||
time.Sleep(100 * time.Millisecond)
|
||||
if len(jobs) < SQLJobSliceSize {
|
||||
time.Sleep(100 * time.Millisecond)
|
||||
}
|
||||
}
|
||||
log.Printf("SQLJobWorker[" + strconv.Itoa(id) + "] : Closing.")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user