From 3268144c85bd78a033914bb71670234918a8323f Mon Sep 17 00:00:00 2001 From: Jason Boyer Date: Tue, 9 May 2017 11:07:46 -0400 Subject: [PATCH] LP1689576: Fix ALARM -> ALRM Typo In Biblio.pm, when trying to set a timeout handler for $SIG{ALARM} when retrieving cached facets as part of a catalog search, a warning is dropped in the logs to this effect: "No such signal: SIGALARM at /usr/local/share/perl/5.18.2/OpenILS/Application/Search/Biblio.pm line 1411" When using $SIG{ALRM} instead the handler is set as expected. Signed-off-by: Jason Boyer Signed-off-by: Galen Charlton --- Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Biblio.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Biblio.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Biblio.pm index 014d250716..670076b89f 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Biblio.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Search/Biblio.pm @@ -1408,7 +1408,7 @@ sub retrieve_cached_facets { return undef unless ($key and $key =~ /_facets$/); eval { - local $SIG{ALARM} = sub {die}; + local $SIG{ALRM} = sub {die}; alarm(2); # we'll sleep for as much as 2s do { die if $cache->get_cache($key . '_COMPLETE'); -- 2.11.0