From 15c3577722c2586b5243fd6d23966b49c59f08be Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Thu, 24 Dec 2015 01:18:37 +0100 Subject: [PATCH] Remove overly long timeout. --- src/mint-lib/mint_api_context.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/mint-lib/mint_api_context.c b/src/mint-lib/mint_api_context.c index 0a5ab159e..9ab136081 100644 --- a/src/mint-lib/mint_api_context.c +++ b/src/mint-lib/mint_api_context.c @@ -346,11 +346,6 @@ TALER_MINT_get_select_info (struct TALER_MINT_Context *ctx, curl_multi_timeout (ctx->multi, &to)); - GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, - "CURL-given timeout is %ld, old timeout is %ld\n", - to, timeout); - - /* Only if what we got back from curl is smaller than what we already had (-1 == infinity!), then update timeout */ if ( (to < *timeout) && @@ -358,7 +353,7 @@ TALER_MINT_get_select_info (struct TALER_MINT_Context *ctx, *timeout = to; if ( (-1 == (*timeout)) && (NULL != ctx->jobs_head) ) - *timeout = 1000 * 60 * 5; /* curl is not always good about giving timeouts */ + *timeout = to; }