[open-ils-commits] r14046 - trunk/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher (miker)
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Sep 18 09:45:15 EDT 2009
Author: miker
Date: 2009-09-18 09:45:13 -0400 (Fri, 18 Sep 2009)
New Revision: 14046
Modified:
trunk/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm
Log:
cache the target weight for the entire hold targetting run, not just for this hold
Modified: trunk/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm
===================================================================
--- trunk/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm 2009-09-17 20:19:28 UTC (rev 14045)
+++ trunk/Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm 2009-09-18 13:45:13 UTC (rev 14046)
@@ -808,6 +808,8 @@
local $OpenILS::Application::Storage::WRITE = 1;
+ $self->{target_weight} = {};
+
my $holds;
try {
@@ -1126,7 +1128,6 @@
}
}
- $self->{target_weight} = {};
$prox_list = create_prox_list( $self, $hold->pickup_lib, $all_copies );
$client->status( new OpenSRF::DomainObject::oilsContinueStatus );
More information about the open-ils-commits
mailing list