[open-ils-commits] [GIT] Evergreen ILS branch rel_2_12 updated. 71d57f10c48c31f2329166f5c98beceef1712073

Evergreen Git git at git.evergreen-ils.org
Mon May 15 17:02:12 EDT 2017


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Evergreen ILS".

The branch, rel_2_12 has been updated
       via  71d57f10c48c31f2329166f5c98beceef1712073 (commit)
      from  80fce43417fe30552255f866ea699c864610424b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 71d57f10c48c31f2329166f5c98beceef1712073
Author: Jason Boyer <jboyer at library.in.gov>
Date:   Tue May 9 11:07:46 2017 -0400

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

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 014d250..670076b 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');

-----------------------------------------------------------------------

Summary of changes:
 .../lib/OpenILS/Application/Search/Biblio.pm       |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list