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