This commit is contained in:
shoopea 2019-06-11 12:23:15 +08:00
parent c193a96db0
commit a5c896e3d4

View File

@ -226,6 +226,7 @@ func SQLJobWorker() {
func JobWorker(id int, jobs <-chan Job) {
//log.Printf("jobWorker[" + strconv.Itoa(id) + "] : Starting.")
for j := range jobs {
log.Printf("JobWorker[%d] : Starting job %d.\n", id, j.ID64)
switch j.JobTypeID {
case objSubTypeJobRescanMsg:
jobRescan(j)