diff options
author | Florian Dold <dold@inria.fr> | 2015-12-24 01:18:37 +0100 |
---|---|---|
committer | Florian Dold <dold@inria.fr> | 2015-12-24 01:18:37 +0100 |
commit | 15c3577722c2586b5243fd6d23966b49c59f08be (patch) | |
tree | ab60d34a27bc7c90f44ec549d3ff1e6f845d5b7c /src/mint-lib | |
parent | ce6e7be9a7927f63cbc49e1d94e5a6f5660f23fd (diff) |
Remove overly long timeout.
Diffstat (limited to 'src/mint-lib')
-rw-r--r-- | src/mint-lib/mint_api_context.c | 7 |
1 files changed, 1 insertions, 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; } |