Reduce the verbosity of the progress indicator.

It's fast enough that we can wait for 1000 messages before updating.
This commit is contained in:
Carl Worth 2009-10-14 17:26:28 -07:00
parent a5865d0574
commit 5166406bef

View file

@ -735,7 +735,7 @@ main (int argc, char **argv)
g_free (filename); g_free (filename);
count++; count++;
if (count % 250 == 0) { if (count % 1000 == 0) {
gettimeofday (&tv_now, NULL); gettimeofday (&tv_now, NULL);
printf ("Indexed %d messages (%g messages/second)\n", printf ("Indexed %d messages (%g messages/second)\n",
count, count / ((tv_now.tv_sec - tv_start.tv_sec) + count, count / ((tv_now.tv_sec - tv_start.tv_sec) +