Skip to content

Commit ed7ee82

Browse files
authored
[Slurm] Add sleep while waiting for job to start (#174)
1 parent 861b301 commit ed7ee82

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/slurm.jl

+2
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ function launch(manager::SlurmManager, params::Dict, instances_arr::Array,
7676
break # break if specification found
7777
end
7878
end
79+
# Sleep for some time to limit ressource usage while waiting for the job to start
80+
sleep(0.1)
7981
end
8082
config = WorkerConfig()
8183
config.port = parse(Int, slurm_spec_match[2])

0 commit comments

Comments
 (0)