remoteURL parameter error cause challenge cache not working,critical area consume to much time, which eventually lead to client manifest request timeout(90s) in massive(which i test 80 concurrent) concurrent manifest request situation.
Signed-off-by: spacexnice <yaoyao.xyy@alibaba-inc.com>
This commit is contained in:
parent
cb744efe8b
commit
3c4b551a7c
1 changed files with 1 additions and 1 deletions
|
@ -203,7 +203,7 @@ func (r *remoteAuthChallenger) tryEstablishChallenges(ctx context.Context) error
|
||||||
|
|
||||||
remoteURL := r.remoteURL
|
remoteURL := r.remoteURL
|
||||||
remoteURL.Path = "/v2/"
|
remoteURL.Path = "/v2/"
|
||||||
challenges, err := r.cm.GetChallenges(r.remoteURL)
|
challenges, err := r.cm.GetChallenges(remoteURL)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue