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:44:19 +0000 (14:44 -0500)
commit634a0db6a5f7970d842b7bb1017f68da2f23317d
treedf5a509d0b4553f468acdd4590a6a97dbbe812c8
parentc028f45c4fedcd6837fa1d685d620c6e405240b2
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