From: Jean-Philippe Orsini Date: Sat, 1 Mar 2014 17:25:12 +0000 (+0000) Subject: increase number of retries X-Git-Tag: v1.3.0~6 X-Git-Url: https://git.wpitchoune.net/gitweb/?p=ppastats.git;a=commitdiff_plain;h=bd25fe0bd683d3634ee16494d83836677375b352 increase number of retries --- diff --git a/src/cache.c b/src/cache.c index b00ddb5..10ac3b7 100644 --- a/src/cache.c +++ b/src/cache.c @@ -59,7 +59,7 @@ const void *cache_get(const char *key) return cache.entries[i].value; } - log_debug(_("memory cache miss %s"), key); + log_fct(_("memory cache miss %s"), key); return NULL; } diff --git a/src/http.c b/src/http.c index 4370f25..fd65d91 100644 --- a/src/http.c +++ b/src/http.c @@ -30,7 +30,7 @@ #include "http.h" #include -static const int DEFAULT_FETCH_RETRIES = 10; +static const int DEFAULT_FETCH_RETRIES = 15; static CURL *curl;