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

Fix the way a ConnectionManagerTracker item is keyed. #1826

Open
whitingjr opened this issue Jan 5, 2021 · 1 comment
Open

Fix the way a ConnectionManagerTracker item is keyed. #1826

whitingjr opened this issue Jan 5, 2021 · 1 comment

Comments

@whitingjr
Copy link
Contributor

The way a tracker is retrieved from the cache needs fixing. Currently cache item key includes the artifact name.

2020-12-21 16:10:40.759 [INFO ] [maven-metadata-generator-38: LIST http://somewhere.com/...abc..../org.apache.cxf-cxf/3.1.10.foobar_1/1/maven/org/codehaus/mojo/wagon-maven-plugin] o.c.u.j.I.c.ConnectionManagerTracker  abc.123.def.456 - Creating connection pool for: maven:remote:koji-org.apache.cxf-cxf-3.1.10.foobar_1-1 with 30 connections.
2020-12-21 16:10:40.760 [INFO ] [maven-metadata-generator-15: LIST http://somewhere.com/...abc..../com.fasterxml.jackson.core-jackson-core/2.9.5.foobar_2/1/maven/org/codehaus/mojo/wagon-maven-plugin] o.c.u.j.I.c.ConnectionManagerTracker  abc.123.def.456 - Creating connection pool for: maven:remote:koji-com.fasterxml.jackson.core-jackson-core-2.9.5.foobar_2-1 with 30 connections.
2020-12-21 16:10:40.761 [INFO ] [maven-metadata-generator-36: LIST http://somewhere.com/...abc..../org.jboss.ws-jbossws-parent/1.4.2.Final_foobar_00001/1/maven/org/codehaus/mojo/wagon-maven-plugin] o.c.u.j.I.c.ConnectionManagerTracker  abc.123.def.456 - Creating connection pool for: maven:remote:koji-org.jboss.ws-jbossws-parent-1.4.2.Final_foobar_00001-1 with 30 connections.
2020-12-21 16:10:40.761 [INFO ] [maven-metadata-generator-14: LIST http://somewhere.com/...abc..../io.prometheus.jmx-parent/0.10.0.foobar_2/1/maven/org/codehaus/mojo/wagon-maven-plugin] o.c.u.j.I.c.ConnectionManagerTracker  abc.123.def.456 - Creating connection pool for: maven:remote:koji-io.prometheus.jmx-parent-0.10.0.foobar_2-1 with 30 connections.

this should be keyed by managed repository.

@whitingjr
Copy link
Contributor Author

Looks like code in Galley project controls how a tracker is retrieved.

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

No branches or pull requests

1 participant