1
0
mirror of https://github.com/newnius/YAO-scheduler.git synced 2025-12-12 23:36:44 +00:00
This commit is contained in:
2020-06-10 23:55:50 +08:00
parent 3c7d28165f
commit 733d28f577
3 changed files with 6 additions and 5 deletions

View File

@@ -45,7 +45,7 @@ func (jm *JobManager) start() {
}
jm.resources = jm.scheduler.AcquireResource(jm.job)
if len(jm.resources) > 0 {
log.Info("Receive resource", jm.resources)
log.Info(jm.job.Name, " receive resource", jm.resources)
break
}
/* sleep random Millisecond to avoid deadlock */