Skip to content

resolver: fix tcp connections limit#1986

Merged
AkihiroSuda merged 1 commit intomoby:masterfrom
tonistiigi:tcp-conn-limit
Feb 19, 2021
Merged

resolver: fix tcp connections limit#1986
AkihiroSuda merged 1 commit intomoby:masterfrom
tonistiigi:tcp-conn-limit

Conversation

@tonistiigi
Copy link
Copy Markdown
Member

partly fixes #1984

Make sure to always use the same tcp connection pool. Otherwise, if some builds pull tens of images in parallel client/server can't handle that.

This should also be capped in the higher level because currently still all layers start showing progress instantly, even if most are waiting on the connection pool. Ideally, we could start showing progress from the first byte but not sure how easy/clean that is to implement.

Signed-off-by: Tonis Tiigi tonistiigi@gmail.com

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
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.

Infinite looping in a build with a lot of cache imports

2 participants