From 62694a0756e1db83cc5c3c257cbe7af32bb5e469 Mon Sep 17 00:00:00 2001 From: Wouter Verhelst Date: Thu, 21 Jul 2011 15:26:48 +0200 Subject: [PATCH] Report more often on our progress Debian autobuild software has an inactivity timer that is dependent on produced output, which we're hitting sometimes currently. Multiply the amount of time we output something by a factor 10, so that we're less likely to. --- nbd-tester-client.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nbd-tester-client.c b/nbd-tester-client.c index fb45a88..ef2878a 100644 --- a/nbd-tester-client.c +++ b/nbd-tester-client.c @@ -1184,7 +1184,7 @@ int integrity_test(gchar* hostname, int port, char* name, int sock, free(prc); } - if (!(printer++ % 10000) || !(readtransactionfile || txqueue.numitems || inflight.numitems) ) + if (!(printer++ % 1000) || !(readtransactionfile || txqueue.numitems || inflight.numitems) ) printf("%d: Seq %08lld Queued: %08d Inflight: %08d Done: %08lld\n", (int)mypid, (long long int) seq, -- 2.34.1