Browse Source

Limit delayed match error prints

etomic
jl777 7 years ago
parent
commit
389278f83f
  1. 2
      iguana/exchanges/LP_stats.c

2
iguana/exchanges/LP_stats.c

@ -455,6 +455,7 @@ int32_t LP_statslog_parsequote(char *method,cJSON *lineobj)
{
HASH_ITER(hh,LP_swapstats,sp,tmp)
{
static uint32_t counter;
if ( sp->Q.R.requestid == requestid && sp->Q.R.quoteid == quoteid )
{
sp->methodind = methodind;
@ -463,6 +464,7 @@ int32_t LP_statslog_parsequote(char *method,cJSON *lineobj)
flag = 1;
break;
}
if ( counter++ < 10 )
printf("error after delayed match\n");
}
}

Loading…
Cancel
Save