Skip to content

Commit 8172122

Browse files
authored
Merge pull request #471 from JuliaParallel/jps/precompile-longer-wait
precompile: Slightly lengthen pre-wait timeout
2 parents 50fd192 + 724d992 commit 8172122

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/precompile.jl

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626

2727
# Wait for halt
2828
while Sch.EAGER_INIT[]
29-
sleep(0.1)
29+
sleep(0.5)
3030
end
3131

3232
# Final clean-up
@@ -38,11 +38,9 @@
3838
return
3939
end
4040
for (name, t) in tracked
41-
@warn "Waiting on $name"
4241
if t.state == :runnable
42+
@warn "Waiting on $name"
4343
Base.throwto(t, InterruptException())
44-
else
45-
wait(t)
4644
end
4745
end
4846
end

0 commit comments

Comments
 (0)