mirror of
https://github.com/wassname/ray.git
synced 2026-07-01 08:53:44 +08:00
Fix copy-paste error in queue.empty (#9757)
This commit is contained in:
@@ -36,7 +36,7 @@ class Queue:
|
||||
|
||||
def empty(self):
|
||||
"""Whether the queue is empty."""
|
||||
return ray.get(self.actor.qsize.remote())
|
||||
return ray.get(self.actor.empty.remote())
|
||||
|
||||
def full(self):
|
||||
"""Whether the queue is full."""
|
||||
|
||||
Reference in New Issue
Block a user