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;