mirror of
https://github.com/wassname/ray.git
synced 2026-07-07 09:36:21 +08:00
Re-route asyncio plasma code path through raylet instead of direct plasma connection (#7234)
This commit is contained in:
@@ -71,6 +71,8 @@ class PlasmaEventHandler:
|
||||
|
||||
future = PlasmaObjectFuture(loop=self._loop)
|
||||
self._waiting_dict[object_id].append(future)
|
||||
self.check_immediately(object_id)
|
||||
|
||||
if not self.check_immediately(object_id) and len(
|
||||
self._waiting_dict[object_id]) == 1:
|
||||
# Only subscribe once
|
||||
self._worker.core_worker.subscribe_to_plasma_object(object_id)
|
||||
return future
|
||||
|
||||
Reference in New Issue
Block a user