Closed yihanzhen closed 3 years ago
Create a custom ArtifactRegistryRequestInitializer that implements HttpRequestInitializer, it does two things:
ArtifactRegistryRequestInitializer
HttpRequestInitializer
The read timeout is set to AbstractWagon.getReadTimeout(), which has a default value of 30 minutes if not overriden by user settings.
AbstractWagon.getReadTimeout()
Locally tested with uploading a big artifact and it worked.
Fix #42
/gcbrun
Create a custom
ArtifactRegistryRequestInitializer
that implementsHttpRequestInitializer
, 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