From: Bill Erickson Date: Mon, 3 Aug 2015 15:03:54 +0000 (-0400) Subject: JBAS-769 Clear holds shelf increase query timeout X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=cfffdcdb43a5ab768ad3aa9e8834c08754415060;p=working%2FEvergreen.git JBAS-769 Clear holds shelf increase query timeout Increase the timeout for the query which finds which holds need clearing from 1 minute to 10 minutes. This mostly affects non-production servers, which are often slower. Note the query is still subject any configured PG statement_timeout settings. Signed-off-by: Bill Erickson --- diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm index 7414d93bdb..a0fb2c5a71 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Circ/Holds.pm @@ -2183,7 +2183,7 @@ sub fetch_captured_holds { }; } - my $hold_ids = $e->json_query( $query ); + my $hold_ids = $e->json_query( $query, {timeout => 600} ); if ($self->api_name =~ /wrong_shelf/) { # fetch holds whose current_shelf_lib is $org, but whose pickup