# HG changeset patch # User David Demelier # Date 1675198896 -3600 # Node ID 26bbca3765dd5bed447aaebe30067063cbe2c853 # Parent 070d8c92ca302503b1ba210bd054e3d8f4282412 misc: update API timeout diff -r 070d8c92ca30 -r 26bbca3765dd libsci/apic.c --- a/libsci/apic.c Mon Jan 30 10:38:33 2023 +0100 +++ b/libsci/apic.c Tue Jan 31 22:01:36 2023 +0100 @@ -86,7 +86,7 @@ curl_easy_setopt(ctx->curl, CURLOPT_HTTPHEADER, ctx->headers); curl_easy_setopt(ctx->curl, CURLOPT_URL, ctx->url); curl_easy_setopt(ctx->curl, CURLOPT_FOLLOWLOCATION, 1L); - curl_easy_setopt(ctx->curl, CURLOPT_TIMEOUT, 3L); + curl_easy_setopt(ctx->curl, CURLOPT_TIMEOUT, 30L); curl_easy_setopt(ctx->curl, CURLOPT_WRITEFUNCTION, writer); curl_easy_setopt(ctx->curl, CURLOPT_WRITEDATA, ctx->fp); curl_easy_setopt(ctx->curl, CURLOPT_NOSIGNAL, 1L);