From: erickson Date: Thu, 4 Dec 2008 21:38:20 +0000 (+0000) Subject: do the rollback before we ingest the records so the rollback won't be called against... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=b073e75012dddefb21ac8a56f40755e9bd1da675;p=Evergreen.git 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 --- 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; }