From 9363d1bd224949c668b10fbe614d96cf21ed7760 Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 7 Jul 2017 19:22:34 +0300 Subject: [PATCH] Test --- iguana/exchanges/LP_nativeDEX.c | 2 +- iguana/exchanges/LP_network.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/iguana/exchanges/LP_nativeDEX.c b/iguana/exchanges/LP_nativeDEX.c index 9c71c6070..03e1f5848 100644 --- a/iguana/exchanges/LP_nativeDEX.c +++ b/iguana/exchanges/LP_nativeDEX.c @@ -122,7 +122,7 @@ int32_t LP_crc32find(int32_t *duplicatep,int32_t ind,uint32_t crc32) crcs[i] = crcs[i >> 1]; crcs[i >> 1] = crc32; dup++; - printf("duplicate %u in slot %d -> slot %d (%lu / %lu)\n",crc32,i,i>>1,dup,total); + //printf("duplicate %u in slot %d -> slot %d (%lu / %lu)\n",crc32,i,i>>1,dup,total); } *duplicatep = 1; break; diff --git a/iguana/exchanges/LP_network.c b/iguana/exchanges/LP_network.c index 18b0d277e..ef3a90d53 100644 --- a/iguana/exchanges/LP_network.c +++ b/iguana/exchanges/LP_network.c @@ -128,7 +128,7 @@ void queue_loop(void *ignore) else flag = 1; } } - else if ( time(NULL) > ptr->starttime+LP_HTTP_TIMEOUT ) + else if ( time(NULL) > ptr->starttime+2*LP_HTTP_TIMEOUT+1 ) { LP_crc32find(&duplicate,-1,ptr->crc32); if ( duplicate > 0 )