From b073e75012dddefb21ac8a56f40755e9bd1da675 Mon Sep 17 00:00:00 2001 From: erickson Date: Thu, 4 Dec 2008 21:38:20 +0000 Subject: [PATCH] do the rollback before we ingest the records so the rollback won't be called against a new cstore backend (since the original one times out after X seconds) resulting in an exception and lack of respond_complete to the UI git-svn-id: svn://svn.open-ils.org/ILS/trunk@11411 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/src/perlmods/OpenILS/Application/Vandelay.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Vandelay.pm b/Open-ILS/src/perlmods/OpenILS/Application/Vandelay.pm index 7470c6c903..9d45d17246 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Vandelay.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Vandelay.pm @@ -666,6 +666,7 @@ sub import_record_list_impl { } } } + $e->rollback; $count = 0; for my $ingest (@ingest_queue) { @@ -674,8 +675,6 @@ sub import_record_list_impl { } $ingest_ses->disconnect(); - - $e->rollback; return undef; } -- 2.11.0