Replies: 1 comment 1 reply
-
Hi, I just did a PR on same need: #36753 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Would it make sense to allow changing the default timeout for the HTTP client?
When running Laravel on Lambda, there is a hard limit of 30 seconds, after which the PHP request is completely stopped.
Being able to set the default timeout on everything at ~10 or 20 seconds would allow having a more precise error instead.
Yes, it is possible to define the timeout on every request made. But sometimes the request is made in a package, it's not possible to change every HTTP request in the app.
I have not found a way to set that up so far, AFAICT it requires changing the code in Laravel.
Beta Was this translation helpful? Give feedback.
All reactions