Port actor creation to use direct calls (#6375)

This commit is contained in:
Stephanie Wang
2019-12-12 19:50:51 -08:00
committed by Eric Liang
parent 74b454c614
commit c57dcc82d1
27 changed files with 447 additions and 175 deletions
+3 -1
View File
@@ -718,7 +718,9 @@ cdef CRayStatus task_execution_handler(
traceback_str,
job_id=None)
sys.exit(1)
except SystemExit:
except SystemExit as e:
if not hasattr(e, "is_ray_terminate"):
logger.exception("SystemExit was raised from the worker")
# Tell the core worker to exit as soon as the result objects
# are processed.
return CRayStatus.SystemExit()