From 8399d37d204e7190d4f1cb1c8efe245d3bdda94c Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Tue, 1 Nov 2011 17:02:44 -0400 Subject: [PATCH] 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 Signed-off-by: Lebbeous Fogle-Weekley --- Open-ILS/src/support-scripts/fine_generator.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Open-ILS/src/support-scripts/fine_generator.pl b/Open-ILS/src/support-scripts/fine_generator.pl index 3ab838a673..5d0ac8e816 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 ); } -- 2.11.0