summaryrefslogtreecommitdiff
path: root/src/process_url.c
diff options
context:
space:
mode:
authorMole Shang <[email protected]>2023-08-10 14:42:31 +0800
committerMole Shang <[email protected]>2023-08-10 14:42:31 +0800
commite61de373bd09c229a08e71469aa413e949134c29 (patch)
treec98e9a5539cf6fc863f7776923911ca9dc6f3b6c /src/process_url.c
parent5748317e77a36b80b1459902dc6d6ad7c1634296 (diff)
downloadhinata-e61de373bd09c229a08e71469aa413e949134c29.tar.gz
hinata-e61de373bd09c229a08e71469aa413e949134c29.tar.bz2
hinata-e61de373bd09c229a08e71469aa413e949134c29.zip
process_url: lower low-speed timeout to 30s
Diffstat (limited to 'src/process_url.c')
-rw-r--r--src/process_url.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/process_url.c b/src/process_url.c
index 135c181..8f21f58 100644
--- a/src/process_url.c
+++ b/src/process_url.c
@@ -316,7 +316,7 @@ static int pull_part(void *a) {
curl = curl_easy_init();
curl_easy_setopt(curl, CURLOPT_URL, curl_c->URL);
curl_easy_setcommonopts(curl);
- curl_easy_setopt(curl, CURLOPT_LOW_SPEED_TIME, 60L);
+ curl_easy_setopt(curl, CURLOPT_LOW_SPEED_TIME, 30L);
curl_easy_setopt(curl, CURLOPT_LOW_SPEED_LIMIT, 30L);
curl_easy_setopt(curl, CURLOPT_WRITEDATA, curl_c->fplist[n]);
curl_easy_setopt(curl, CURLOPT_NOPROGRESS, 0L);