-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
Description
(Please use https://github.com/HenrikBengtsson/future/discussions for Q&A)
Wish or feature request
isNodeAlive() currently returns NA no matter the state of the cluster, which is forkin' useless.
Suggest adding a method for SOCK0node which checks the connection status.
ccc <- makeForkCluster(2)
> isNodeAlive(ccc)
[1] NA NA
> isNodeAlive.SOCK0node <- function (x, ...) isConnectionValid(x$con)
> isNodeAlive(ccc)
[1] TRUE TRUE
> stopCluster(ccc)
> isNodeAlive(ccc)
[1] FALSE FALSE
>
See #136
Reactions are currently unavailable