Rename max_reconstructions to max_restarts and use -1 for infinite (#8274)

Co-authored-by: Edward Oakes <ed.nmi.oakes@gmail.com>
This commit is contained in:
Max FittonandEdward Oakes authored and GitHub committed 2020-05-14 10:30:29 -05:00
1 parent 5f4c196fed
commit 00325eb2b2
71 files changed
+403 -393

No files matched your search

@@ -47,7 +47,7 @@ public class WorkerLifecycleController {
ActorCreationOptions options = new ActorCreationOptions.Builder()
.setResources(executionVertex.getResources())
.setMaxReconstructions(ActorCreationOptions.INFINITE_RECONSTRUCTION)
.setMaxRestarts(-1)
.createActorCreationOptions();
RayActor<JobWorker> actor = null;