mirror of
https://github.com/wassname/ray.git
synced 2026-07-01 05:07:50 +08:00
Add entries to in-memory store on Put() (#7085)
This commit is contained in:
@@ -40,8 +40,9 @@ class PlasmaEventHandler:
|
||||
"""Process notifications."""
|
||||
for object_id, object_size, metadata_size in messages:
|
||||
if object_size > 0 and object_id in self._waiting_dict:
|
||||
# This must be asynchronous to allow objects to be locally
|
||||
# received
|
||||
# This must be asynchronous because it runs on the main IO
|
||||
# thread in the worker. If this is blocked, other messages
|
||||
# won't be received.
|
||||
self._loop.call_soon_threadsafe(_complete_future, self,
|
||||
object_id)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user