mirror of
https://github.com/wassname/ray.git
synced 2026-07-24 13:20:22 +08:00
Implement Detached Actor (#6036)
* Arg propagation works * Implement persistent actor * Add doc * Initialize is_persistent_ * Rename persistent->detached * Address comment * Make test passes * Address comment * Python2 compatiblity * Fix naming, py2 * Lint
This commit is contained in:
@@ -948,7 +948,8 @@ cdef class CoreWorker:
|
||||
uint64_t max_reconstructions,
|
||||
resources,
|
||||
placement_resources,
|
||||
c_bool is_direct_call):
|
||||
c_bool is_direct_call,
|
||||
c_bool is_detached):
|
||||
cdef:
|
||||
CRayFunction ray_function
|
||||
c_vector[CTaskArg] args_vector
|
||||
@@ -969,7 +970,8 @@ cdef class CoreWorker:
|
||||
ray_function, args_vector,
|
||||
CActorCreationOptions(
|
||||
max_reconstructions, is_direct_call, c_resources,
|
||||
c_placement_resources, dynamic_worker_options),
|
||||
c_placement_resources, dynamic_worker_options,
|
||||
is_detached),
|
||||
&c_actor_id))
|
||||
|
||||
return ActorID(c_actor_id.Binary())
|
||||
|
||||
Reference in New Issue
Block a user