LP#1415898 Fix Potential Cstore Starvation in KPAC
authorJason Stephenson <jason@sigio.com>
Thu, 29 Jan 2015 12:59:07 +0000 (07:59 -0500)
committerBill Erickson <berickxx@gmail.com>
Thu, 29 Jan 2015 15:29:44 +0000 (10:29 -0500)
commit87b2ffd1cae21d34b41eaef12696572177d9b046
tree9a84b354dbd7295ea1d1f28a2ec15dc5c10d296a
parent7998ca2858ed709fc78639fa641d91b6ca271d07
LP#1415898 Fix Potential Cstore Starvation in KPAC

The getit_results function in EGKPacLoader.pm does xact_begin, which
opens a connected session to a cstore drone.  It later does xact_rollback,
which does not disconnect the session.  This leaves a drone hanging for
several seconds unable to responde to new requests.  This commit switches
to a rollback call that does disconnect the session.

Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Bill Erickson <berickxx@gmail.com>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGKPacLoader.pm