[open-ils-commits] [GIT] Evergreen ILS branch rel_2_1 updated. ffd3b0f1b6cb5b1ec129f9d0d0541f1c27c549df

Evergreen Git git at git.evergreen-ils.org
Tue Nov 1 17:13:25 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, rel_2_1 has been updated
       via  ffd3b0f1b6cb5b1ec129f9d0d0541f1c27c549df (commit)
      from  78e315f83f146bbc0486ab4877bf22b1c1810a7d (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 ffd3b0f1b6cb5b1ec129f9d0d0541f1c27c549df
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