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-05-02 22:55:49 +08:00
parent d20730e4e3
commit a85856c5ec

View File

@@ -94,7 +94,7 @@ func (jm *JobManager) start() {
GPUs = append(GPUs, GPU.UUID)
}
for attempt := 0; attemp < 3; attemp++ {
for attempt := 0; attempt < 3; attempt++ {
if attempt == 2 { //failed more than once
//for {
// resource := jm.scheduler.AcquireResource(jm.job, jm.job.Tasks[i], jm.resources)