]> git.evergreen-ils.org Git - Evergreen.git/commit
Handle search timeouts more gracefully
authorJason Etheridge <jason@esilibrary.com>
Thu, 19 Jan 2012 22:01:22 +0000 (17:01 -0500)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Tue, 31 Jan 2012 19:45:24 +0000 (14:45 -0500)
commitc3c37595218672b8b623ce8a38de4675b7807231
treed80d9963c5fed1a4b5e9551bdeec6e92cf69885d
parentc72d7d33a6c5721098665c296b6eff837a6d750e
Handle search timeouts more gracefully

Another tweak courtesy of berick

Returns 0 results if open-ils.storage timeouts instead of a nasty uncaught
undefined ARRAY exception resulting in an OPAC "spinning wheel of death"
(formerly the "green knight rider bar of death".

Note that in the event of storage timeouts, you should tune and/or beef-up
your database.

Signed-off-by: Jason Etheridge <jason@esilibrary.com>
Signed-off-by: Lebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Biblio.pm