Skip to content

Commit

Permalink
fixup! Add support for worker state callbacks
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesWrigley committed Dec 26, 2024
1 parent 8b04241 commit 21da9fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cluster.jl
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ function addprocs(manager::ClusterManager; kwargs...)
# Call worker-starting callbacks
warning_interval = params[:callback_warning_interval]
_run_callbacks_concurrently("worker-starting", worker_starting_callbacks,
warning_interval, [(manager, kwargs)])
warning_interval, [(manager, params)])

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

0 comments on commit 21da9fc

Please sign in to comment.