]> git.evergreen-ils.org Git - Evergreen.git/commit
Added content connect timeout
authorBill Erickson <berick@esilibrary.com>
Mon, 24 Sep 2012 16:50:47 +0000 (12:50 -0400)
committerLebbeous Fogle-Weekley <lebbeous@esilibrary.com>
Wed, 3 Oct 2012 16:40:06 +0000 (12:40 -0400)
commit661fe70abe324c082ab9d6d0c1f01c64e2f4c9ef
tree0a3964e97f14309cc1a658c776850d9f9e433633
parented4c91efd0b2994f465405a790f308d5e1c36af0
Added content connect timeout

Make tpac server-side added content lookups exit after a brief timeout
when the apache module is unable to open a connection to its own
top-level hostname (the virtualhost, apache->hostname).

As noted in the code comments, even though we are using Net::Server::NB
(non-blocking), it's only non-blocking in the sense of content
retrieval, not in how it calls connect() under the covers.

Signed-off-by: Bill Erickson <berick@esilibrary.com>
Signed-off-by: Michael Peters <mrpeters@library.in.gov>
Open-ILS/src/perlmods/lib/OpenILS/WWW/EGCatLoader/Record.pm