[open-ils-commits] r11411 - trunk/Open-ILS/src/perlmods/OpenILS/Application
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Dec 4 16:38:25 EST 2008
Author: erickson
Date: 2008-12-04 16:38:20 -0500 (Thu, 04 Dec 2008)
New Revision: 11411
Modified:
trunk/Open-ILS/src/perlmods/OpenILS/Application/Vandelay.pm
Log:
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
Modified: trunk/Open-ILS/src/perlmods/OpenILS/Application/Vandelay.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/Vandelay.pm 2008-12-04 21:11:51 UTC (rev 11410)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/Vandelay.pm 2008-12-04 21:38:20 UTC (rev 11411)
@@ -666,6 +666,7 @@
}
}
}
+ $e->rollback;
$count = 0;
for my $ingest (@ingest_queue) {
@@ -674,8 +675,6 @@
}
$ingest_ses->disconnect();
-
- $e->rollback;
return undef;
}
More information about the open-ils-commits
mailing list