Add a flag to disable reconstruction for a killed actor (#7346)

This commit is contained in:
Kai Yang
2020-03-13 19:10:21 +08:00
committed by GitHub
parent 575c89cf47
commit d6e8f47065
17 changed files with 135 additions and 52 deletions
+1 -1
View File
@@ -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):