Skip to content
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: set http server idle timeout to 2 minutes #85

Merged
merged 1 commit into from
Nov 9, 2022

Conversation

dianwen
Copy link
Member

@dianwen dianwen commented Nov 9, 2022

Description

The ALB idle timeout for keepalive conns is 60 sec. If we have a lower value than that, the connection could be dropped causing 502s. https://medium.com/@_alif/aws-elb-5xxs-revisit-your-server-keepalivetimeout-a0ea8e22c242

It doesn't seem like there's a timeout by default, but doesn't hurt to add this.

Type of change

  • 🐛 Bug fix (non-breaking change which fixes an issue)
  • 😎 New feature (non-breaking change which adds functionality)
  • ⁉️ Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • ⚒️ Refactor (no functional changes)
  • 📖 Documentation (updating or adding docs)

How Has This Been Tested?

Please describe the tests that you ran to verify your changes.

@dianwen dianwen force-pushed the set-http-server-idle-timeout branch from cc576b5 to fb739b7 Compare November 9, 2022 16:12
@dianwen dianwen merged commit 57a15c3 into main Nov 9, 2022
@dianwen dianwen deleted the set-http-server-idle-timeout branch November 9, 2022 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants