mirror of
https://github.com/wassname/ray.git
synced 2026-07-03 01:09:13 +08:00
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:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user