(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
(Please use https://github.com/HenrikBengtsson/future/discussions for Q&A)
Wish or feature request
isNodeAlive()currently returnsNAno matter the state of the cluster, which is forkin' useless.Suggest adding a method for
SOCK0nodewhich checks the connection status.See #136