Skip to content

Apply connection tuning#9

Open
hloeung wants to merge 1 commit into
matterbridge:masterfrom
hloeung:connection-tuning
Open

Apply connection tuning#9
hloeung wants to merge 1 commit into
matterbridge:masterfrom
hloeung:connection-tuning

Conversation

@hloeung

@hloeung hloeung commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

We're setting &http.Transport{}, we lose the various defaults from http.DefaultTransport.Clone(). But also, per https://antonz.org/default-transport/, let's not use RoundTripper from DefaultTransport and set our own.

Use golang/go#39299 as a baseline.

Bump MaxIdleConnsPerHost to 10 from the default of 2.

We're setting &http.Transport{}, we lose the various defaults from
http.DefaultTransport.Clone(). But also, per https://antonz.org/default-transport/,
let's not use RoundTripper from DefaultTransport and set our own.

Use golang/go#39299 as a baseline.

Bump MaxIdleConnsPerHost to 10 from the default of 2.
hloeung added a commit to 42wim/matterircd that referenced this pull request Jun 26, 2026
We're setting &http.Transport{}, we lose the various defaults from http.DefaultTransport.Clone().
But also, per https://antonz.org/default-transport/, let's not use
RoundTripper from DefaultTransport and set our own.

Use golang/go#39299 as a baseline.

Bump MaxIdleConnsPerHost to 10 from the default of 2.

Upstream matterbridge/matterclient#9
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.

1 participant