From 51f88c531b9d2711f58360740e3b35326e519119 Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Sun, 9 Jan 2011 18:25:11 +0000 Subject: [PATCH] commit search index --- bin/BackupPC_updatedb | 2 ++ 1 file changed, 2 insertions(+) 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 ), -- 2.20.1