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 Fitton
2020-05-14 08:30:29 -07:00
committed by GitHub
parent 5f4c196fed
commit 00325eb2b2
71 changed files with 403 additions and 393 deletions
@@ -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;