Make the timeout for the extended resolver dnslookup configurable -----------------------------------------------------------------
Key: DS-628 URL: http://jira.dspace.org/jira/browse/DS-628 Project: DSpace 1.x Issue Type: Improvement Components: DSpace API Affects Versions: 1.7 Reporter: Claudia Jürgen Priority: Minor Attachments: DnsLookup.java.patch This patch enables the configuration of the extended resolver's time out for the dns lookup. A new configuration parameter solr.resolver.timeout (sorry for yet another config param) is introduced and used to set the timout in DnsLookup.java. For backward compatibility the time out defaults to 20 milliseconds. OS time outs vary between 2 to 5 seconds, from what I've learned so far. We did face an increasing number of solr errors (200- 900/day) due to timeout, with the timeout being set to 20 milliseconds. Setting it to the system defaults (5 seconds) got rid of most of these. Nowadays an average of 2/day do occur. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.dspace.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Dspace-devel mailing list Dspace-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspace-devel