Increase WebDAV client HTTP timeout from 30 to 60 seconds

This commit is contained in:
Leon Bösche
2026-01-29 12:16:00 +01:00
parent ed86765321
commit cd34bcddc9

View File

@@ -42,7 +42,7 @@ func NewWebDAVClient(cfg *config.Config) *WebDAVClient {
user: cfg.NextcloudUser,
pass: cfg.NextcloudPass,
basePrefix: strings.TrimRight(base, "/"),
httpClient: &http.Client{Timeout: 30 * time.Second},
httpClient: &http.Client{Timeout: 60 * time.Second},
}
}