[open-ils-commits] r20455 - trunk/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher (miker)
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu May 12 15:22:47 EDT 2011
Author: miker
Date: 2011-05-12 15:22:42 -0400 (Thu, 12 May 2011)
New Revision: 20455
Modified:
trunk/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/actor.pm
Log:
Wrap proximity refreshing in a transaction to avoid timespans where there is no such information
Modified: trunk/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/actor.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/actor.pm 2011-05-12 15:19:04 UTC (rev 20454)
+++ trunk/Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/actor.pm 2011-05-12 19:22:42 UTC (rev 20455)
@@ -197,8 +197,10 @@
actor.org_unit r;
SQL
+ $self->method_lookup('open-ils.storage.transaction.begin')->run;
actor::org_unit_proximity->db_Main->do($delete_sql);
actor::org_unit_proximity->db_Main->do($insert_sql);
+ $self->method_lookup('open-ils.storage.transaction.commit')->run;
return 1;
}
More information about the open-ils-commits
mailing list