Skip to content

Blocking asyncio get warning should be logger.warn not logger.debug#11141

Merged
ericl merged 2 commits intoray-project:masterfrom
ericl:fix-warn3
Sep 30, 2020
Merged

Blocking asyncio get warning should be logger.warn not logger.debug#11141
ericl merged 2 commits intoray-project:masterfrom
ericl:fix-warn3

Conversation

@ericl
Copy link
Contributor

@ericl ericl commented Sep 30, 2020

Just ran into this issue today; took a while to figure out why things were blocking.

Copy link
Collaborator

@edoakes edoakes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm a little bit conflicted about this because there are times when you may want to use ray.get() instead of await to avoid yielding the event loop, but I guess in that case you should probably just be using a lock to protect the critical section instead.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants