]> git.evergreen-ils.org Git - Evergreen.git/commit
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:30:12 +0000 (10:30 -0500)
commit11f0b20ac084bfe31ad18ba5a750c68f93458593
tree1b8a253a10ab6396f3c27286ecbf27911b92e7a8
parent04014a714f5c92e3a3f2ef5f118bc5ae14c5da68
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