From 59a81f5e9bfca5d1aba0a985cb9c72e826806ada Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Mon, 30 Dec 2013 13:49:01 -0500 Subject: [PATCH] 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 --- Open-ILS/src/perlmods/lib/OpenILS/Application/Vandelay.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 { -- 2.43.2