Browse Source

Test

etomic
jl777 8 years ago
parent
commit
be41509919
  1. 2
      iguana/exchanges/LP_network.c
  2. 2
      iguana/exchanges/stats.c

2
iguana/exchanges/LP_network.c

@ -277,7 +277,7 @@ void queue_loop(void *arg)
DL_FOREACH_SAFE(LP_garbage_collector,req,rtmp) DL_FOREACH_SAFE(LP_garbage_collector,req,rtmp)
{ {
DL_DELETE(LP_garbage_collector,req); DL_DELETE(LP_garbage_collector,req);
printf("garbage collect ipbits.%x\n",req->ipbits); //printf("garbage collect ipbits.%x\n",req->ipbits);
free(req); free(req);
} }
portable_mutex_unlock(&LP_networkmutex); portable_mutex_unlock(&LP_networkmutex);

2
iguana/exchanges/stats.c

@ -614,7 +614,7 @@ void LP_rpc_processreq(void *_ptr)
if ( spawned > maxspawned ) if ( spawned > maxspawned )
{ {
printf("max rpc threads spawned and alive %d <- %d\n",maxspawned,spawned); printf("max rpc threads spawned and alive %d <- %d\n",maxspawned,spawned);
spawned = maxspawned; maxspawned = spawned;
} }
while ( remains > 0 ) while ( remains > 0 )
{ {

Loading…
Cancel
Save