Increase timeout for obtaining login background image list
This commit is contained in:
parent
580e9ae4bd
commit
701e301d48
1 changed files with 1 additions and 1 deletions
|
|
@ -68,7 +68,7 @@ func (h *Handler) getImageList(ctx context.Context) ([]string, error) {
|
||||||
start := time.Now()
|
start := time.Now()
|
||||||
|
|
||||||
c := http.Client{
|
c := http.Client{
|
||||||
Timeout: 5 * time.Second,
|
Timeout: time.Minute,
|
||||||
}
|
}
|
||||||
|
|
||||||
req, _ := http.NewRequestWithContext(ctx, http.MethodGet, buildPath(ndImageServiceURL, "index.yml"), nil)
|
req, _ := http.NewRequestWithContext(ctx, http.MethodGet, buildPath(ndImageServiceURL, "index.yml"), nil)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue