GoogleCloudPlatform / artifact-registry-maven-tools

Apache License 2.0
24 stars 22 forks source link

Set read timeout to the default value from AbstractWagon #53

Closed yihanzhen closed 3 years ago

yihanzhen commented 3 years ago

Create a custom ArtifactRegistryRequestInitializer that implements HttpRequestInitializer, it does two things:

The read timeout is set to AbstractWagon.getReadTimeout(), which has a default value of 30 minutes if not overriden by user settings.

Locally tested with uploading a big artifact and it worked.

Fix #42

yihanzhen commented 3 years ago

/gcbrun

yihanzhen commented 3 years ago

/gcbrun