From: Carl Worth Date: Thu, 15 Oct 2009 00:26:28 +0000 (-0700) Subject: Reduce the verbosity of the progress indicator. X-Git-Tag: 0.1~853 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5166406befb716d800bb606b510d103dd4272bf9;p=notmuch.git Reduce the verbosity of the progress indicator. It's fast enough that we can wait for 1000 messages before updating. --- diff --git a/notmuch-index-message.cc b/notmuch-index-message.cc index a3483b93..f1f9e3ad 100644 --- a/notmuch-index-message.cc +++ b/notmuch-index-message.cc @@ -735,7 +735,7 @@ main (int argc, char **argv) g_free (filename); count++; - if (count % 250 == 0) { + if (count % 1000 == 0) { gettimeofday (&tv_now, NULL); printf ("Indexed %d messages (%g messages/second)\n", count, count / ((tv_now.tv_sec - tv_start.tv_sec) +