Skip to content

Commit

Permalink
release lock before sleeping (ray-project#33221)
Browse files Browse the repository at this point in the history
Signed-off-by: rickyyx <rickyx@anyscale.com>
Signed-off-by: Jack He <jackhe2345@gmail.com>
  • Loading branch information
rickyyx authored and ProjectsByJackHe committed May 4, 2023
1 parent 065ea62 commit 4909377
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion release/nightly_tests/stress_tests/test_threaded_actors.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ def get_pi(self):
with self.lock:
if not self.result_queue.empty():
result = self.result_queue.get(block=False)
time.sleep(1)
time.sleep(1)
return result


Expand Down

0 comments on commit 4909377

Please sign in to comment.