-
Notifications
You must be signed in to change notification settings - Fork 552
Default to 1 for MaxAcceptPerSocketEvent #6447
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
Default to 1 for MaxAcceptPerSocketEvent #6447
Conversation
Signed-off-by: jukie <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6447 +/- ##
==========================================
- Coverage 70.92% 70.87% -0.06%
==========================================
Files 220 220
Lines 37260 37263 +3
==========================================
- Hits 26426 26409 -17
- Misses 9289 9305 +16
- Partials 1545 1549 +4 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Signed-off-by: jukie <[email protected]>
internal/xds/translator/testdata/out/xds-ir/max-conn-per-socket-event.listeners.yaml
Show resolved
Hide resolved
Signed-off-by: jukie <[email protected]>
Co-authored-by: Rudrakh Panigrahi <[email protected]> Signed-off-by: Isaac <[email protected]>
Signed-off-by: jukie <[email protected]>
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.
LGTM, saw samething in Istio.
/retest |
/retest |
* Add default=1 for MaxAcceptPerSocketEvent Signed-off-by: jukie <[email protected]> * testdata Signed-off-by: jukie <[email protected]> * Fix default Signed-off-by: jukie <[email protected]> * Update internal/xds/translator/listener.go Co-authored-by: Rudrakh Panigrahi <[email protected]> Signed-off-by: Isaac <[email protected]> * update const name Signed-off-by: jukie <[email protected]> --------- Signed-off-by: jukie <[email protected]> Signed-off-by: Isaac <[email protected]> Co-authored-by: Rudrakh Panigrahi <[email protected]>
What type of PR is this?
feat: default to 1 for MaxAcceptPerSocketEvent
What this PR does / why we need it:
It's recommended to set a value for MaxAcceptPerSocketEvent and 1 is a safe value with either negligible or zero performance impact which other Gateway Controllers use as well.
Which issue(s) this PR fixes:
Fixes #6439
Release Notes: No