2 second time out for library description fetch, to (maybe) avoid threading
This commit is contained in:
parent
57430f33c2
commit
355685d8b9
@ -66,7 +66,8 @@ LibraryFetcher::get_descriptions ()
|
||||
curl_easy_setopt (curl, CURLOPT_FOLLOWLOCATION, 1L);
|
||||
curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, CurlWrite_CallbackFunc_StdString);
|
||||
curl_easy_setopt(curl, CURLOPT_WRITEDATA, &buf);
|
||||
CURLcode res = curl_easy_perform (curl);
|
||||
curl_easy_setopt(curl, CURLOPT_CONNECTTIMEOUT, 2L);
|
||||
CURLcode res = curl_easy_perform (curl);
|
||||
curl_easy_cleanup (curl);
|
||||
|
||||
if (res != CURLE_OK) {
|
||||
|
Loading…
Reference in New Issue
Block a user