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

Configurable idle conn counts for connection pooling #148

Merged
merged 4 commits into from
Jan 15, 2025

Conversation

francislavoie
Copy link
Member

The default of 50 conns globally is a fine default, but in some cases allowing that limit to be unbound or tuned higher may be necessary to make better use of Go's connection pooling if there's a lot of different hosts being connected to through the proxy.

@francislavoie
Copy link
Member Author

The govulncheck failure isn't relevant to this PR, it's just cause the quic-go dep is behind. Not a real problem when compiled against the latest Caddy.

@gaby
Copy link
Collaborator

gaby commented Jan 15, 2025

@francislavoie Can you remove the govulncheck workflow in this PR. It keeps failing all the thing for irrelevant things, mostly quic. But we rely on caddy's version for that.

@francislavoie
Copy link
Member Author

I hijacked this a bit to bump the minimum to v2.8.4 and set up RegisterDirectiveOrder since I brought it up on another PR

Copy link
Member

@mholt mholt left a comment

Choose a reason for hiding this comment

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

Awesome. Looks good -- merge at will @francislavoie :D

@francislavoie
Copy link
Member Author

@mholt I don't have permissions on this repo 😛

@mholt
Copy link
Member

mholt commented Jan 15, 2025

Oops! Fixed.

@francislavoie francislavoie merged commit c27518c into caddyserver:master Jan 15, 2025
6 checks passed
@francislavoie francislavoie deleted the pooling-config branch January 15, 2025 21:45
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.

3 participants