projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a460e6
)
output changes
author
Art Cancro
<ajc@citadel.org>
Tue, 18 Oct 2005 19:43:25 +0000
(19:43 +0000)
committer
Art Cancro
<ajc@citadel.org>
Tue, 18 Oct 2005 19:43:25 +0000
(19:43 +0000)
citadel/serv_fulltext.c
patch
|
blob
|
history
diff --git
a/citadel/serv_fulltext.c
b/citadel/serv_fulltext.c
index eab74d5b0bdd2846116c13a82ba435487599ca94..2c2084b3e1b11e50c1620f3bc5eb2f9bad091bdf 100644
(file)
--- a/
citadel/serv_fulltext.c
+++ b/
citadel/serv_fulltext.c
@@
-79,7
+79,9
@@
void ft_flush_cache(void) {
for (i=0; i<65536; ++i) {
if ((time(NULL) - last_update) > 5L) {
- lprintf(5, "Flushing index cache to disk (%d of 65536)\n", i);
+ lprintf(5, "Flushing index cache to disk (%d%% complete)\n",
+ (i * 100 / 65536)
+ );
last_update = time(NULL);
}
if (ftc_msgs[i] != NULL) {