-
Notifications
You must be signed in to change notification settings - Fork 347
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
Check that lambda_http
s inner service is ready before calling it
#538
Conversation
Alternatively, I could tweak the existing |
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for opening this PR! Do you mind fixing lambda-extension
too? I can do it myself later too.
I can take a swing at it. Want it in this PR or another one? |
I added it here. I updated the existing integration test to account for this. I feel like that's a nicer approach. Thoughts on me removing the Also: Thoughts on me updating the existing |
That sounds like a good idea. We need to look into how we run those directly in PRs, but that's a problem for a different day XD
Sounds great too 👍 |
Alright. That's all done. Thank you for the feedback. |
This allows for service [backpressure](https://docs.rs/tower/0.4.13/tower/trait.Service.html#backpressure). Additionally: > Services are permitted to panic if `call` is invoked without obtaining `Poll::Ready(Ok(()))` from `poll_ready`. [Source](https://docs.rs/tower/0.4.13/tower/trait.Service.html#be-careful-when-cloning-inner-services)
This allows for service [backpressure](https://docs.rs/tower/0.4.13/tower/trait.Service.html#backpressure). Additionally: > Services are permitted to panic if `call` is invoked without obtaining `Poll::Ready(Ok(()))` from `poll_ready`. [Source](https://docs.rs/tower/0.4.13/tower/trait.Service.html#be-careful-when-cloning-inner-services)
This allows for service [backpressure](https://docs.rs/tower/0.4.13/tower/trait.Service.html#backpressure). Additionally: > Services are permitted to panic if `call` is invoked without obtaining `Poll::Ready(Ok(()))` from `poll_ready`. [Source](https://docs.rs/tower/0.4.13/tower/trait.Service.html#be-careful-when-cloning-inner-services)
This allows for service backpressure.
Additionally:
Source
By submitting this pull request