From 9531dc745ba4f2510afd8463e4bf92d7b81b041c Mon Sep 17 00:00:00 2001 From: jl777 Date: Sat, 14 Oct 2017 18:15:54 +0300 Subject: [PATCH] Test --- 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 8792b7abb..a496f6094 100644 --- a/iguana/exchanges/LP_nativeDEX.c +++ b/iguana/exchanges/LP_nativeDEX.c @@ -281,7 +281,7 @@ int32_t LP_nanomsg_recvs(void *ctx) if ( (origipaddr= LP_myipaddr) == 0 ) origipaddr = "127.0.0.1"; milli = OS_milliseconds(); - if ( milli > lastmilli+100 ) + if ( lastmilli > 0. && milli > lastmilli+100 ) fprintf(stderr,">>>>>>>>>>>>>>>>> BIG latency lag %.3f milliseconds\n",milli-lastmilli); lastmilli = milli; //portable_mutex_lock(&LP_nanorecvsmutex);