Increase timeout for obtaining login background image list
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user