From 42a03db1232e4b8fbb3ffb5187b1d17f44cb2444 Mon Sep 17 00:00:00 2001 From: jl777 Date: Wed, 9 Mar 2016 19:15:52 -0300 Subject: [PATCH] test --- iguana/iguana_recv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iguana/iguana_recv.c b/iguana/iguana_recv.c index 997362c2d..3338f4b1b 100755 --- a/iguana/iguana_recv.c +++ b/iguana/iguana_recv.c @@ -946,7 +946,7 @@ int32_t iguana_pollQsPT(struct iguana_info *coin,struct iguana_peer *addr) return(0); } priority = 1; - if ( (req= queue_dequeue(&coin->priorityQ,0)) == 0 ) + if ( (req= queue_dequeue(&coin->priorityQ,0)) == 0 && (rand() % 10) == 0 ) { if ( (rand() % 7) == 0 ) flag = iguana_neargap(coin,addr);