]> git.notmuchmail.org Git - notmuch/commitdiff
Reduce the verbosity of the progress indicator.
authorCarl Worth <cworth@cworth.org>
Thu, 15 Oct 2009 00:26:28 +0000 (17:26 -0700)
committerCarl Worth <cworth@cworth.org>
Thu, 15 Oct 2009 00:26:28 +0000 (17:26 -0700)
It's fast enough that we can wait for 1000 messages before updating.

notmuch-index-message.cc

index a3483b93b6b35b01c1bb95caa8beba2b55d70526..f1f9e3ada90373a938b35d3fafde457012942006 100644 (file)
@@ -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) +