From: Bill Erickson Date: Mon, 30 Dec 2013 18:49:01 +0000 (-0500) Subject: Vandelay: increase queued item creation timeout X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=44a00569ca41b00cb255f1f1c82f35e967dfa33c;p=Evergreen.git Vandelay: increase queued item creation timeout Allow up to 10 minutes to create each queued vandelay record to avoid timeouts in item creation caused by pathologicaly long-running record match set queries. Signed-off-by: Bill Erickson Signed-off-by: Ben Shum --- diff --git a/Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm b/Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm index 6e9c5a9a30..2a349967e9 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm @@ -179,7 +179,7 @@ sub _add_bib_rec { $rec->purpose( $purpose ) if ($purpose); $rec->bib_source($bib_source); - return $e->create_vandelay_queued_bib_record( $rec ); + return $e->create_vandelay_queued_bib_record( $rec, {timeout => 600} ); } sub add_record_to_authority_queue { @@ -223,7 +223,7 @@ sub _add_auth_rec { $rec->queue( $queue ); $rec->purpose( $purpose ) if ($purpose); - return $e->create_vandelay_queued_authority_record( $rec ); + return $e->create_vandelay_queued_authority_record( $rec, {timeout => 600} ); } sub process_spool {