-
Notifications
You must be signed in to change notification settings - Fork 465
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
Add configurable GrpcMaxConnectionAge, GrpcMaxConnectionAgeGrace #288
Add configurable GrpcMaxConnectionAge, GrpcMaxConnectionAgeGrace #288
Conversation
Signed-off-by: lmajercak-wish <lmajercak@wish.com>
Signed-off-by: lmajercak-wish <lmajercak@wish.com>
6a56f0c
to
e150dae
Compare
…xtLogic/ratelimit into lmajercak_grpc_connection_settings
Changes makes sense to me. Could you add docs about the new settings in the README and maybe some simple tests? Thanks! |
Signed-off-by: lmajercak-wish <lmajercak@wish.com>
Added to the README. What are you thinking for the unit test? |
Signed-off-by: lmajercak-wish <lmajercak@wish.com>
I was going to suggest adding a simple integration test but it's already being tested via the default values so I guess this is fine. The defaults look sane as well. Will go ahead and merge, thanks! |
…oyproxy#288) * Add configurable GrpcMaxConnectionAge, GrpcMaxConnectionAgeGrace Signed-off-by: lmajercak-wish <lmajercak@wish.com> * Add configurable GrpcMaxConnectionAge, GrpcMaxConnectionAgeGrace Signed-off-by: lmajercak-wish <lmajercak@wish.com> * Fix fmt Signed-off-by: lmajercak-wish <lmajercak@wish.com> * Add to README Signed-off-by: lmajercak-wish <lmajercak@wish.com> * Fix README format Signed-off-by: lmajercak-wish <lmajercak@wish.com>
Server-side configuration of MaxConnectionAge, MaxConnectionAgeGrace is needed to achieve better load balancing behavior in auto-scaled scenarios: grpc/grpc#12295 (comment)