From 09733eb0a97a5c7d35f5d86562a8a9bb29bd4cf6 Mon Sep 17 00:00:00 2001 From: jl777 Date: Fri, 1 Apr 2016 14:18:30 -0600 Subject: [PATCH] test --- iguana/iguana777.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/iguana/iguana777.c b/iguana/iguana777.c index 72fcfe694..66079cdfe 100755 --- a/iguana/iguana777.c +++ b/iguana/iguana777.c @@ -418,13 +418,14 @@ void iguana_helper(void *arg) { if ( coin->polltimeout < polltimeout ) polltimeout = coin->polltimeout; - printf("[%d] bundleQ size.%d lag.%ld\n",bp->hdrsi,queue_size(&bundlesQ),time(NULL) - bp->nexttime); + //printf("[%d] bundleQ size.%d lag.%ld\n",bp->hdrsi,queue_size(&bundlesQ),time(NULL) - bp->nexttime); coin->numbundlesQ--; if ( coin->started != 0 && time(NULL) >= bp->nexttime && coin->active != 0 ) flag += iguana_bundleiters(ptr->coin,&MEM,MEMB,bp,ptr->timelimit,IGUANA_DEFAULTLAG); else { //printf("skip.%d lag.%ld coin->active.%d\n",bp->hdrsi,time(NULL)-bp->nexttime,coin->active); + allcurrent = 0; iguana_bundleQ(ptr->coin,bp,1000); } if ( coin->current != 0 && coin->current->hdrsi != coin->bundlescount-1 )