From: Dobrica Pavlinusic Date: Sun, 9 Jan 2011 18:25:11 +0000 (+0000) Subject: commit search index X-Git-Url: http://git.rot13.org/?p=BackupPC.git;a=commitdiff_plain;h=51f88c531b9d2711f58360740e3b35326e519119;ds=sidebyside commit search index --- diff --git a/bin/BackupPC_updatedb b/bin/BackupPC_updatedb index 9627a2b..a0d0069 100755 --- a/bin/BackupPC_updatedb +++ b/bin/BackupPC_updatedb @@ -190,6 +190,8 @@ sub hest_update { } while ($results == EST_CHUNK); + $search->commit; + my $dur = (time() - $t) || 1; printf(" [%.2f/s dur: %s]\n", ( $added / $dur ),