-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trouble changing plans #430
Comments
This could affect cloud computing strategies such as https://gist.github.com/DavisVaughan/865d95cf0101c24df27b37f4047dd2e5. On the bright side, though, |
It's a hack, but you can avoid the shutdown of the cluster by using: plan(sequential, .cleanup = FALSE) |
Thanks, Henrik! I just committed ropensci/targets@1ede0fb, which uses |
Only that it exists in the first place for internal purposes and I don't want to commit to long term support for it at this time - despite it's been the for a long time already |
Will there eventually be a different officially supported way to preserve clusters to allow more heterogeneity among workers? |
This issue is related to #263 (comment) and ropensci/targets#198 (comment), and it interferes with the ability of
targets
to create heterogeneous transient workers (cc @mattwarkentin).When I stick to a multisession plan before running any futures, things seem to work fine.
Created on 2020-10-19 by the reprex package (v0.3.0)
However, when I try to change to a sequential plan before calling
resolved()
, the connection gets corrupted.Created on 2020-10-19 by the reprex package (v0.3.0)
Same thing if I try to restore the original multisession plan.
Created on 2020-10-19 by the reprex package (v0.3.0)
The text was updated successfully, but these errors were encountered: