This commit is contained in:
shoopea 2020-06-27 10:05:34 +02:00
parent 99597f6a72
commit ad597b35ab

View File

@ -609,11 +609,11 @@ func SQLJobWorker() {
for true {
jobs, err := loadCurrentJobs()
logOnError(err, "SQLJobWorker : loadCurrentJobs")
/*
if len(jobs) > 0 {
log.Printf("SQLJobWorker : %d jobs.\n", len(jobs))
}
*/
if len(jobs) > 0 {
log.Printf("SQLJobWorker : %d jobs.\n", len(jobs))
}
if err == nil {
for _, j := range jobs {
JobQueue <- j