Skip to content

Conversation

@mhchia
Copy link
Member

@mhchia mhchia commented Dec 2, 2021

What was wrong?

In async functions, we should use async sleep instead to avoid blocking.

How was it fixed?

Change time.sleep to asyncio.sleep. I choose asyncio.sleep since it is used in other modules as well. Please correct me if other async frameworks are more suitable.

Copy link
Collaborator

@kclowes kclowes left a comment

Choose a reason for hiding this comment

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

Thanks @mhchia! I think those failures are just flaky. I'll add a newsfragment and merge.

@mhchia
Copy link
Member Author

mhchia commented Dec 4, 2021

NP. Thanks for review:)

@kclowes kclowes merged commit b65b336 into ethereum:master Dec 6, 2021
@mhchia mhchia deleted the patch-1 branch February 9, 2022 14:19
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.

2 participants