[core] Post task submission to IO loop (#8090)

* Post to IO loop

* Unused

* Fix build
This commit is contained in:
Stephanie Wang
2020-04-20 19:13:50 -07:00
committed by GitHub
parent 708dff6d8f
commit eefea4e29c
6 changed files with 33 additions and 38 deletions
+2 -2
View File
@@ -868,9 +868,9 @@ cdef class CoreWorker:
prepare_args(self, language, args, &args_vector)
with nogil:
check_status(CCoreWorkerProcess.GetCoreWorker().SubmitTask(
CCoreWorkerProcess.GetCoreWorker().SubmitTask(
ray_function, args_vector, task_options, &return_ids,
max_retries))
max_retries)
return VectorToObjectIDs(return_ids)