Skip to content

Commit 21da9fc

Browse files
committed
fixup! Add support for worker state callbacks
1 parent 8b04241 commit 21da9fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cluster.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,7 @@ function addprocs(manager::ClusterManager; kwargs...)
466466
# Call worker-starting callbacks
467467
warning_interval = params[:callback_warning_interval]
468468
_run_callbacks_concurrently("worker-starting", worker_starting_callbacks,
469-
warning_interval, [(manager, kwargs)])
469+
warning_interval, [(manager, params)])
470470

471471
# Add new workers
472472
new_workers = @lock worker_lock addprocs_locked(manager::ClusterManager, params)

0 commit comments

Comments
 (0)