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=59a81f5e9bfca5d1aba0a985cb9c72e826806ada;p=evergreen%2Fmasslnc.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 0bb52d6681..26eddad0f2 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm @@ -181,7 +181,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 { @@ -225,7 +225,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 {