Skip to content

Commit 54b4cf6

Browse files
committed
fixup! Don't recursively call deregister_worker() on the current worker
1 parent 64aba00 commit 54b4cf6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cluster.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1447,7 +1447,7 @@ function deregister_worker(pg, pid)
14471447
# Notify the cluster manager of this workers death
14481448
manage(w.manager, w.id, w.config, :deregister)
14491449
if PGRP.topology !== :all_to_all || isclusterlazy()
1450-
for rpid in filter(!=(myid()), workers())
1450+
for rpid in other_workers()
14511451
try
14521452
remote_do(deregister_worker, rpid, pid)
14531453
catch

0 commit comments

Comments
 (0)