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

Reuse senders #571

Merged
merged 2 commits into from
Oct 6, 2020
Merged

Reuse senders #571

merged 2 commits into from
Oct 6, 2020

Conversation

jhendrixMSFT
Copy link
Member

The change to support TLS renegotiation types inadvertently removed
sharing transports, leading to a growing number of goroutines for
workloads that create a lot of different clients.
Create senders per TLS renegotiation type. Each sender is created on
demand and cached for reuse.

Thank you for your contribution to Go-AutoRest! We will triage and review it as soon as we can.

As part of submitting, please make sure you can make the following assertions:

  • I've tested my changes, adding unit tests if applicable.
  • I've added Apache 2.0 Headers to the top of any new source files.
  • I'm submitting this PR to the dev branch, except in the case of urgent bug fixes warranting their own release.
  • If I'm targeting master, I've updated CHANGELOG.md to address the changes I'm making.

The change to support TLS renegotiation types inadvertently removed
sharing transports, leading to a growing number of goroutines for
workloads that create a lot of different clients.
Create senders per TLS renegotiation type.  Each sender is created on
demand and cached for reuse.
@jhendrixMSFT
Copy link
Member Author

Fixes #554

@catalinaperalta
Copy link
Member

I've been wondering for this and previous changes...should the changelog be updated?

@jhendrixMSFT
Copy link
Member Author

Good question. Given that we no longer have monolithic releases I've been placing the changelog notes in each module's release notes.

@catalinaperalta
Copy link
Member

Maybe we should make a note of that for people who look to the changelog?

Copy link
Member

@catalinaperalta catalinaperalta left a comment

Choose a reason for hiding this comment

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

LGTM

@jhendrixMSFT jhendrixMSFT merged commit 8f35df6 into Azure:master Oct 6, 2020
@jhendrixMSFT jhendrixMSFT deleted the autorest_senders branch October 6, 2020 23:12
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.

2 participants