Skip to content

🎧 Your Personal Streaming Service

Increase timeout for obtaining login background image list

Deluan701e301d48ce
diff --git a/server/backgrounds/handler.go b/server/backgrounds/handler.go
index 5f53e281f..3b3c19f17 100644
--- a/server/backgrounds/handler.go
+++ b/server/backgrounds/handler.go
@@ -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)