From eac92104c422d106c64a007944a0cec1cefcac0f Mon Sep 17 00:00:00 2001 From: jl777 Date: Mon, 8 May 2017 14:37:28 +0300 Subject: [PATCH] Test --- iguana/exchanges/stats.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/iguana/exchanges/stats.c b/iguana/exchanges/stats.c index 90615740b..83ca2e231 100644 --- a/iguana/exchanges/stats.c +++ b/iguana/exchanges/stats.c @@ -972,9 +972,9 @@ int32_t stats_stateupdate(FILE *logfp,char *destdir,char *statefname,int32_t max if ( ftell(fp) > lastpos[iter] ) { fseek(fp,lastpos[iter],SEEK_SET); - while ( komodo_parsestatefile(logfp,sp,fp,symbol,iter) >= 0 && n < 1000 ) + while ( komodo_parsestatefile(logfp,sp,fp,symbol,iter) >= 0 && n < 100000 ) { - if ( n == 999 ) + if ( n == 99999 ) { if ( time(NULL) < starttime+maxseconds ) n = 0;