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 <berickxx@gmail.com>
};
}
- 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