Skip to content

Commit 8546ce0

Browse files
SmalRatm-fila
andauthored
Silence warnings about the workers dying and rescheduling JuliaParallel/Dagger.jl#536
Co-authored-by: Mateusz Jakub Fila <[email protected]>
1 parent 98180b1 commit 8546ce0

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
@@ -134,6 +134,7 @@ graphs_map = Dict{String, String}(
134134
)
135135

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

139140
#end # module graphs_scheduling

0 commit comments

Comments
 (0)