projects
/
notmuch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5865d0
)
Reduce the verbosity of the progress indicator.
author
Carl Worth
<cworth@cworth.org>
Thu, 15 Oct 2009 00:26:28 +0000
(17:26 -0700)
committer
Carl 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
patch
|
blob
|
history
diff --git
a/notmuch-index-message.cc
b/notmuch-index-message.cc
index a3483b93b6b35b01c1bb95caa8beba2b55d70526..f1f9e3ada90373a938b35d3fafde457012942006 100644
(file)
--- 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 %
25
0 == 0) {
+ if (count %
100
0 == 0) {
gettimeofday (&tv_now, NULL);
printf ("Indexed %d messages (%g messages/second)\n",
count, count / ((tv_now.tv_sec - tv_start.tv_sec) +