Revert "Wrap proximity refreshing in a transaction to avoid timespans where there...
authorMike Rylander <mrylander@gmail.com>
Mon, 23 May 2011 15:06:51 +0000 (11:06 -0400)
committerMike Rylander <mrylander@gmail.com>
Mon, 23 May 2011 15:06:51 +0000 (11:06 -0400)
This reverts commit 2a16bb01ebf782a248155bee9c2d37d5b3184e0c.

Signed-off-by: Mike Rylander <mrylander@gmail.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Storage/Publisher/actor.pm

index 75152ce..1cb3dce 100644 (file)
@@ -197,10 +197,8 @@ sub calc_proximity {
                                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;
 }