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

Reduce HAProxy client and server timeouts to 1 minute #878

Merged
merged 1 commit into from
Jan 27, 2025

Conversation

vitabaks
Copy link
Owner

@vitabaks vitabaks commented Jan 27, 2025

Reduced timeout client and timeout server from 1 hour to 1 minute. This change only affects idle connections. Active sessions where data is being transmitted are not impacted by this timeout.

This change aims to reduce the duration of idle sessions, allowing for more efficient resource utilization and better traffic distribution across replicas.

Fixed:
2025-01-27_16-13-53

Recommendation:

  • If your application requires long-lived idle connections (e.g., WebSocket, file uploads, or long polling), and it's not important for you to evenly distribute traffic across replicas, consider increasing these timeouts to accommodate such scenarios.

@vitabaks vitabaks self-assigned this Jan 27, 2025
@vitabaks vitabaks merged commit 2578593 into master Jan 27, 2025
15 checks passed
@vitabaks vitabaks deleted the haproxy-timeout branch January 27, 2025 10:53
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.

1 participant