Stopping the leak (let us try this again)
authormiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 23 Sep 2010 23:49:26 +0000 (23:49 +0000)
committermiker <miker@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 23 Sep 2010 23:49:26 +0000 (23:49 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17939 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/perlmods/OpenILS/Application/Storage/Publisher/action.pm

index eff5a0a..471adc8 100644 (file)
@@ -1294,7 +1294,7 @@ sub new_hold_copy_targeter {
                                        my %circ_lib_map =  map { (''.$_->circ_lib => 1) } @$all_copies;
                                        my $circ_lib_list = [keys %circ_lib_map];
        
-                                       my $cstore = OpenSRF::AppSession->connect('open-ils.cstore');
+                                       my $cstore = OpenSRF::AppSession->create('open-ils.cstore');
        
                                        # Grab the "biggest" loop for this hold so far
                                        my $current_loop = $cstore->request(