mirror of
https://github.com/wassname/ray.git
synced 2026-07-08 09:02:59 +08:00
Add a flag to disable reconstruction for a killed actor (#7346)
This commit is contained in:
@@ -1643,7 +1643,7 @@ def kill(actor):
|
||||
"Got: {}.".format(type(actor)))
|
||||
|
||||
worker = ray.worker.get_global_worker()
|
||||
worker.core_worker.kill_actor(actor._ray_actor_id)
|
||||
worker.core_worker.kill_actor(actor._ray_actor_id, False)
|
||||
|
||||
|
||||
def _mode(worker=global_worker):
|
||||
|
||||
Reference in New Issue
Block a user