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

Wire up connection backoff of channel pool #1289

Merged
merged 1 commit into from
Oct 5, 2021

Conversation

glbrntt
Copy link
Collaborator

@glbrntt glbrntt commented Oct 5, 2021

Motivation:

GRPCChannelPool.Configuration has an entry controlling connection
backoff configuration. However this was never wired up to the underlying
connection pool and connections which just use the defaults.

Modifications:

  • Propagate connection backoff through the API
  • Add a test

Result:

Connection backoff is wired up as expected for GRPCChannelPool.

Motivation:

`GRPCChannelPool.Configuration` has an entry controlling connection
backoff configuration. However this was never wired up to the underlying
connection pool and connections which just use the defaults.

Modifications:

- Propagate connection backoff through the API
- Add a test

Result:

Connection backoff is wired up as expected for `GRPCChannelPool`.
@glbrntt glbrntt added the 🔨 semver/patch No public API change. label Oct 5, 2021
@glbrntt glbrntt requested a review from Lukasa October 5, 2021 12:03
Copy link
Collaborator

@Lukasa Lukasa left a comment

Choose a reason for hiding this comment

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

Nice easy patch, thanks!

@Lukasa Lukasa merged commit a0f38ff into grpc:main Oct 5, 2021
@glbrntt glbrntt deleted the gb-wire-up-backoff branch October 5, 2021 13:20
bimawa pushed a commit to StreamLayer/grpc-swift that referenced this pull request Nov 10, 2021
Motivation:

`GRPCChannelPool.Configuration` has an entry controlling connection
backoff configuration. However this was never wired up to the underlying
connection pool and connections which just use the defaults.

Modifications:

- Propagate connection backoff through the API
- Add a test

Result:

Connection backoff is wired up as expected for `GRPCChannelPool`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔨 semver/patch No public API change.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants