Skip to content

Conversation

abersheeran
Copy link
Contributor

Copy link
Contributor

@gvbgduh gvbgduh left a comment

Choose a reason for hiding this comment

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

It might be not a bad idea to bring another implementation of the event loop. But in this implementation, it implicitly replaces the asyncio event loop. It may confuse the user it's generally better to keep things explicit.
So for this particular case, it would be better to create a separate module, like uvloop, so it would be possible to specify it with the --loop param running the uvicorn server.

@abersheeran
Copy link
Contributor Author

I agree it. I will make changes later and resubmit.

@gvbgduh
Copy link
Contributor

gvbgduh commented Sep 19, 2019

@abersheeran looks really good to me. Let's run it with @tomchristie what he thinks.

@lovelydinosaur
Copy link
Collaborator

Liking it, yup!

@abersheeran
Copy link
Contributor Author

So, why not merge the PR? What else do I need to modify?

@gvbgduh
Copy link
Contributor

gvbgduh commented Oct 3, 2019

hey @abersheeran, I'm going to merge it today, but if you could run ./scripts/lint and then push again it would save some time.

@gvbgduh gvbgduh changed the base branch from master to RC-0.9.1 October 3, 2019 00:25
@gvbgduh
Copy link
Contributor

gvbgduh commented Oct 3, 2019

Actually, never mind!

@gvbgduh gvbgduh merged commit 1b50b13 into encode:RC-0.9.1 Oct 3, 2019
@abersheeran
Copy link
Contributor Author

I am sorry that I didn't notice lint, I will use it next time. 😅

@gvbgduh
Copy link
Contributor

gvbgduh commented Oct 3, 2019

all good, thanks for the PR!

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.

3 participants