exchange

Base system with REST service to issue digital coins, run by the payment service provider
Log | Files | Refs | Submodules | README | LICENSE

commit 15c3577722c2586b5243fd6d23966b49c59f08be
parent ce6e7be9a7927f63cbc49e1d94e5a6f5660f23fd
Author: Florian Dold <dold@inria.fr>
Date:   Thu, 24 Dec 2015 01:18:37 +0100

Remove overly long timeout.

Diffstat:
Msrc/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 @@ -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; }