commit ac607f917f639d3845c9cd6a45efe37e11286c17
parent 723b389cd1f8efefc4c6a849f09514d025b5be38
Author: William Morgan <wmorgan-sup@masanjin.net>
Date: Tue, 5 Feb 2008 08:35:07 -0800
Merge branch 'master' into next
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/bin/sup-sync b/bin/sup-sync
@@ -227,6 +227,8 @@ begin
$stderr.puts "Deleted #{num_del} / #{num_scanned} messages"
end
+ index.save
+
if opts[:optimize]
$stderr.puts "Optimizing index..."
optt = time { index.index.optimize unless opts[:dry_run] }
@@ -238,7 +240,6 @@ rescue Exception => e
File.open("sup-exception-log.txt", "w") { |f| f.puts e.backtrace }
raise
ensure
- #index.save # actually, don't want to save!
Redwood::finish
index.unlock
end