mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-29 18:07:42 +01:00
2 second time out for library description fetch, to (maybe) avoid threading
This commit is contained in:
parent
57430f33c2
commit
355685d8b9
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue