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 <jboyer@library.in.gov>
Signed-off-by: Galen Charlton <gmc@equinoxinitiative.org>
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');