Handle search timeouts more gracefully collab/phasefx/spinning_wheel_of_death
authorJason Etheridge <jason@esilibrary.com>
Thu, 19 Jan 2012 22:01:22 +0000 (17:01 -0500)
committerJason Etheridge <jason@esilibrary.com>
Thu, 19 Jan 2012 22:01:22 +0000 (17:01 -0500)
commit2b312be4964731e92d75bcad5c7cba1627a1328c
tree64474fca9ebdcfd5d8943f3002d35baa5a412a54
parent90d0cc43bd65a7841d47feadfd78b3dc5dc4f889
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>
Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Biblio.pm