-
Notifications
You must be signed in to change notification settings - Fork 4
[DX-1962] docs: document timeout requirements for proxy_default_timeout > 120s #1128
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
[DX-1962] docs: document timeout requirements for proxy_default_timeout > 120s #1128
Conversation
…imeout When setting proxy_default_timeout to a value greater than 120 seconds, the http_server_options.read_timeout and http_server_options.write_timeout settings must also be increased accordingly, as they default to 120 seconds. Resolves DX-1962 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
Updated the note under proxy_default_timeout to clarify that only http_server_options.write_timeout needs to be adjusted when setting proxy_default_timeout beyond 120 seconds. The read_timeout setting is for client-to-Tyk request reading and is independent of upstream timeouts. Only write_timeout affects the response delivery to the client and must be adjusted accordingly. Addresses feedback on DX-1962. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
OldStubbsy
left a comment
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.
Great! Thanks very much
|
/release to release-5.8 |
|
/release to release-5.10 |
|
✅ Cherry-pick successful. A PR was created and auto-merged (if allowed): #1171 |
|
✅ Cherry-pick successful. A PR was created and auto-merged (if allowed): #1172 |
Summary
proxy_default_timeoutto clarify that onlyhttp_server_options.write_timeoutneeds to be adjusted whenproxy_default_timeoutexceeds 120 secondsChanges Made
Based on team feedback:
read_timeoutis for the client sending a request TO Tyk - not dependent on upstream timeoutwrite_timeoutis for Tyk writing the response BACK to the client - must be adjusted when upstream timeout increasesTest plan
read_timeoutandwrite_timeoutsections workResolves DX-1962
🤖 Generated with Claude Code