From ff9f0d48f1cdb2ed2ce4a23ef6d251f04a9fc17f Mon Sep 17 00:00:00 2001 From: hjp Date: Tue, 9 Oct 2012 06:57:27 +0000 Subject: [PATCH] Need to commit periodically. flush_insert_instances is the most logical place although that may be a bit too often. --- lib/Simba/CA.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Simba/CA.pm b/lib/Simba/CA.pm index 2207277..b3e3505 100644 --- a/lib/Simba/CA.pm +++ b/lib/Simba/CA.pm @@ -552,6 +552,7 @@ sub flush_insert_instances { ); $dbh->do($cmd); } + $dbh->commit(); $self->{caches}{insert_instances} = []; }