From 9f5963c1328bbefcb5810add1c9e00d6c1e42c51 Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 7 Jul 2017 20:00:57 +0300 Subject: [PATCH] Test --- iguana/exchanges/LP_network.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/iguana/exchanges/LP_network.c b/iguana/exchanges/LP_network.c index da3e342ff..64d7ee750 100644 --- a/iguana/exchanges/LP_network.c +++ b/iguana/exchanges/LP_network.c @@ -128,13 +128,14 @@ void queue_loop(void *ignore) else flag = 1; } } - else if ( time(NULL) > ptr->starttime+LP_HTTP_TIMEOUT ) + else if ( time(NULL) > ptr->starttime+LP_HTTP_TIMEOUT*2+1 ) { LP_crc32find(&duplicate,-1,ptr->crc32); if ( duplicate > 0 ) { LP_Qfound++; - printf("found.%u Q.%d err.%d match.%d\n",ptr->crc32,LP_Qenqueued,LP_Qerrors,LP_Qfound); + if ( (LP_Qenqueued % 10) == 0 ) + printf("found.%u Q.%d err.%d match.%d\n",ptr->crc32,LP_Qenqueued,LP_Qerrors,LP_Qfound); flag = 1; } else