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 <berick@esilibrary.com>
Signed-off-by: Ben Shum <bshum@biblio.org>
$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 {
$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 {