[open-ils-commits] [GIT] Evergreen ILS branch master updated. 8399d37d204e7190d4f1cb1c8efe245d3bdda94c

Evergreen Git git at git.evergreen-ils.org
Tue Nov 1 17:12:43 EDT 2011


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  8399d37d204e7190d4f1cb1c8efe245d3bdda94c (commit)
      from  009f27d2f1d9a42966ee753f8f98be8f5fe45164 (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 8399d37d204e7190d4f1cb1c8efe245d3bdda94c
Author: Bill Erickson <berick at esilibrary.com>
Date:   Tue Nov 1 17:02:44 2011 -0400

    Fine generator; raise multi-session mode recv timeout
    
    When fetching the batch of overdue circ IDs to process for fine
    generation, wait a little longer for the data to arrive, since
    it is a longer running DB query than most.
    
    Signed-off-by: Bill Erickson <berick at esilibrary.com>
    Signed-off-by: Lebbeous Fogle-Weekley <lebbeous at esilibrary.com>

diff --git a/Open-ILS/src/support-scripts/fine_generator.pl b/Open-ILS/src/support-scripts/fine_generator.pl
index 3ab838a..5d0ac8e 100755
--- a/Open-ILS/src/support-scripts/fine_generator.pl
+++ b/Open-ILS/src/support-scripts/fine_generator.pl
@@ -60,7 +60,7 @@ if ($parallel == 1) {
 
     my $storage = OpenSRF::AppSession->create("open-ils.storage");
     my $r = $storage->request('open-ils.storage.action.circulation.overdue.id_list');
-    while (my $resp = $r->recv) {
+    while (my $resp = $r->recv(timeout => 600)) {
         my $circ_id = $resp->content;
         $multi_generator->request( 'open-ils.storage.action.circulation.overdue.generate_fines', $circ_id );
     }

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

Summary of changes:
 Open-ILS/src/support-scripts/fine_generator.pl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
Evergreen ILS


More information about the open-ils-commits mailing list