Repair cstore transaction leak in A/T reactor helper
authorBill Erickson <berick@esilibrary.com>
Wed, 5 Dec 2012 18:52:01 +0000 (13:52 -0500)
committerBill Erickson <berick@esilibrary.com>
Fri, 11 Jan 2013 13:39:17 +0000 (08:39 -0500)
commit189697dfde9cf8653611e5ed51919af0a92ac3ed
tree76996b9ef2bb37bffd9ec82920127b9043fe862c
parent8e854c6a4edafe506780573fafe35c5e647a3e58
Repair cstore transaction leak in A/T reactor helper

This is not good:

my $copy = new_editor(xact=>1)->retrieve_asset_copy(...)

This opens a connection to a cstore drone and creates a
transaction without closing the transaction or connection, causing the
cstore drone to be idle and un-usable for the duration of the keepalive
timeout.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Trigger/Reactor.pm