From cf6054b39cfb6d37cc7d1729ff34e3925f2cc263 Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 21 Oct 2017 23:46:42 +0300 Subject: [PATCH] 3 second latency --- iguana/exchanges/LP_nativeDEX.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iguana/exchanges/LP_nativeDEX.c b/iguana/exchanges/LP_nativeDEX.c index e55b04644..000bcd399 100644 --- a/iguana/exchanges/LP_nativeDEX.c +++ b/iguana/exchanges/LP_nativeDEX.c @@ -300,7 +300,7 @@ int32_t LP_nanomsg_recvs(void *ctx) if ( (origipaddr= LP_myipaddr) == 0 ) origipaddr = "127.0.0.1"; milli = OS_milliseconds(); - if ( lastmilli > 0. && milli > lastmilli+1000 ) + if ( lastmilli > 0. && milli > lastmilli+3000 ) fprintf(stderr,">>>>>>>>>>>>>>>>> BIG latency lag %.3f milliseconds: (%s)\n",milli-lastmilli,LP_lastcommand!=0?LP_lastcommand:""); lastmilli = milli; //portable_mutex_lock(&LP_nanorecvsmutex);