[open-ils-commits] [GIT] Evergreen ILS branch master updated. 3268144c85bd78a033914bb71670234918a8323f

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, master has been updated
       via  3268144c85bd78a033914bb71670234918a8323f (commit)
      from  e6bd3d895909b732512b9fa2f4ab8a18c8eaef82 (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 3268144c85bd78a033914bb71670234918a8323f
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