]> git.evergreen-ils.org Git - working/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)
committerJason Stephenson <jason@sigio.com>
Thu, 29 Jan 2015 12:59:07 +0000 (07:59 -0500)
commit5312dd31fcd0812f90cbafaf6fa6de8ab39a1b23
treea4deb98fa7a48fc99dbda17f7226d86f8c1b627e
parent609db84f0499cf7083b09d1786ace1a60f71986e
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>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGKPacLoader.pm