changeset 78:26bbca3765dd

misc: update API timeout
author David Demelier <markand@malikania.fr>
date Tue, 31 Jan 2023 22:01:36 +0100
parents 070d8c92ca30
children ad55b7035692
files libsci/apic.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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);