We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2874281 commit 2be833cCopy full SHA for 2be833c
src/cluster.jl
@@ -194,7 +194,7 @@ function wait_for_conn(w)
194
timeout = worker_timeout() - (time() - w.ct_time)
195
timeout <= 0 && error("peer $(w.id) has not connected to $(myid())")
196
197
- if timedwait(() -> (@atomic w.state) === WorkerState_connected, timeout) === :timed_out
+ if timedwait(() -> (@atomic w.state) === W_CONNECTED, timeout) === :timed_out
198
# Notify any waiters on the state and throw
199
@lock w.c_state notify(w.c_state)
200
error("peer $(w.id) didn't connect to $(myid()) within $timeout seconds")
0 commit comments