|
|
@ -1233,8 +1233,9 @@ int32_t iguana_blockQ(char *argstr,struct iguana_info *coin,struct iguana_bundle |
|
|
|
{ |
|
|
|
if ( (n= queue_size(Q)) > 100000 ) |
|
|
|
{ |
|
|
|
printf("%s %s %s [%d:%d] %d %s %d numranked.%d qsize.%d\n",coin->symbol,argstr,str,bp!=0?bp->hdrsi:-1,bundlei,req->height,bits256_str(str2,hash2),coin->blocks.recvblocks,coin->peers.numranked,queue_size(Q)); |
|
|
|
coin->backlog = n; |
|
|
|
if ( n > 200000 ) |
|
|
|
printf("%s %s %s [%d:%d] %d %s %d numranked.%d qsize.%d\n",coin->symbol,argstr,str,bp!=0?bp->hdrsi:-1,bundlei,req->height,bits256_str(str2,hash2),coin->blocks.recvblocks,coin->peers.numranked,queue_size(Q)); |
|
|
|
coin->backlog = n*10; |
|
|
|
} else coin->backlog >>= 1; |
|
|
|
} |
|
|
|
if ( block != 0 ) |
|
|
|