disconnect to free up the cstore backend
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 14 Oct 2008 03:08:14 +0000 (03:08 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Tue, 14 Oct 2008 03:08:14 +0000 (03:08 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@10828 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Application/Ingest.pm

index e5e21f7..0a3cbd4 100644 (file)
@@ -274,6 +274,7 @@ sub rw_biblio_ingest_single_object {
        $cstore->request( 'open-ils.cstore.direct.biblio.record_entry.update' => $bib )->gather(1);
 
        $cstore->request( 'open-ils.cstore.transaction.commit' )->gather(1) || return undef;;
+    $cstore->disconnect;
 
        return $bib->id;
 }