]> 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:46:18 +0000 (14:46 -0500)
commit06ad5407984b528cedf9eeddbec50072981a6921
tree15f2a5216a75d0759709aded79717334fa153076
parent082b33695ff60fa2b9105db4fc7070d5470866d7
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/OpenILS/Application/Search/Biblio.pm