Skip to content

Commit 7155afa

Browse files
SmalRatm-fila
andcommitted
Silence warnings about the workers dying and rescheduling JuliaParallel/Dagger.jl#536
Co-authored-by: Mateusz Jakub Fila <[email protected]>
1 parent 476281d commit 7155afa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: graphs_scheduling/src/main.jl

+2-1
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ graphs_map = Dict{String, String}(
104104
)
105105

106106
main(graphs_map)
107-
rmprocs(workers()) # TODO: there is some issue here, as it throws errors, and restarting the file in the REPL ignores adding the procs
107+
rmprocs!(Dagger.Sch.eager_context(), workers())
108+
rmprocs(workers())
108109

109110
#end # module graphs_scheduling

0 commit comments

Comments
 (0)