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

Make min-drop-probability of PHC optional #3067

Merged
merged 1 commit into from
May 7, 2024

Conversation

RomanZavodskikh
Copy link
Member

The default value (0.0) makes some sense and is equivalent to how PHC was working before.

@RomanZavodskikh RomanZavodskikh added the minor no risk changes, for example new filters label May 7, 2024
proxy/proxy.go Outdated Show resolved Hide resolved
proxy/proxy.go Outdated Show resolved Hide resolved
@RomanZavodskikh RomanZavodskikh force-pushed the phc/minDropProbabilityNonDefault branch from 132bdd8 to 464a07c Compare May 7, 2024 12:25
The default value (0.0) makes some sense and is equivalent to how
PHC was working before.

Signed-off-by: Roman Zavodskikh <roman.zavodskikh@zalando.de>
@RomanZavodskikh RomanZavodskikh force-pushed the phc/minDropProbabilityNonDefault branch from 464a07c to d693900 Compare May 7, 2024 13:03
@AlexanderYastrebov
Copy link
Member

👍

1 similar comment
@RomanZavodskikh
Copy link
Member Author

👍

@RomanZavodskikh RomanZavodskikh merged commit 75c404b into master May 7, 2024
14 checks passed
@RomanZavodskikh RomanZavodskikh deleted the phc/minDropProbabilityNonDefault branch May 7, 2024 13:23
@@ -21,6 +21,7 @@ import (
"time"
"unicode/utf8"

"golang.org/x/exp/maps"
Copy link
Member

@AlexanderYastrebov AlexanderYastrebov May 7, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is now in stdlib, see https://pkg.go.dev/maps

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, but there is no maps.Keys method on the stdlib page.
image
https://pkg.go.dev/maps

The experimental for comparison.
image
https://pkg.go.dev/golang.org/x/exp/maps

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right, indeed golang/go#61538. Thanks for checking

AlexanderYastrebov added a commit to zalando-incubator/kubernetes-on-aws that referenced this pull request May 7, 2024
JanardhanSharma pushed a commit to JanardhanSharma/skipper that referenced this pull request Jul 19, 2024
The default value (0.0) makes some sense and is equivalent to how
PHC was working before.

Signed-off-by: Roman Zavodskikh <roman.zavodskikh@zalando.de>
Co-authored-by: Roman Zavodskikh <roman.zavodskikh@zalando.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor no risk changes, for example new filters
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants