New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bug that caused slow requests to block the processing of other concurrent requests #1

Closed
wants to merge 1 commit into
base: master
from

Conversation

Projects
None yet
2 participants
@dbaty
Contributor

dbaty commented Feb 13, 2012

As discussed in the mailing-list (http://groups.google.com/group/pylons-discuss/browse_thread/thread/1939cb1012e2190f), any request will block Waitress, which means that other concurrent requests will not be processed until the previous one has returned.

The attached changes provide a possible fix and a test. I do not know whether this change has negative side effects (but other tests still pass so we could pretend that nothing has been broken ;) ).

@mcdonc

This comment has been minimized.

Show comment
Hide comment
@mcdonc

mcdonc Feb 13, 2012

Member

Ha, I just finished writing very similar code, checked in as 7fa8ef4 . Thanks for this though!

Member

mcdonc commented Feb 13, 2012

Ha, I just finished writing very similar code, checked in as 7fa8ef4 . Thanks for this though!

@mcdonc

This comment has been minimized.

Show comment
Hide comment
@mcdonc

mcdonc Feb 13, 2012

Member

Fixed by commit #7fa8ef4d9410b83237dfd11f0700d3117eeb9b27

Member

mcdonc commented Feb 13, 2012

Fixed by commit #7fa8ef4d9410b83237dfd11f0700d3117eeb9b27

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