-
Notifications
You must be signed in to change notification settings - Fork 12
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
Per request timeout #643
Per request timeout #643
Conversation
Store the current in flight callback in a variable. When the timeout handler reaches timeout, we kill the current request. If the idle timeout triggers, we kill all requests, including the current in-flight request.
ensure we call ctx.read() when killing current request to start the next request
Hmm, |
Regarding You see, client logs message, but not being interrupted:
|
yes, this is wrong. we should get the next pending promise instead. Until this is resolved I think adding a middleware for handling per request timeout is the best for now. |
Will have to come back to this with a new solution, closing for now |
We control when we kill the connection, not the playframework lib.
No description provided.