From bdf306e0a779771807ad85c6f5ada175a6a6df48 Mon Sep 17 00:00:00 2001 From: Michael Peter Christen Date: Thu, 13 Jun 2013 22:32:06 +0200 Subject: [PATCH] increased time-out for loading of seed-lists --- source/net/yacy/search/Switchboard.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/net/yacy/search/Switchboard.java b/source/net/yacy/search/Switchboard.java index a267bca1a..33ed1a26a 100644 --- a/source/net/yacy/search/Switchboard.java +++ b/source/net/yacy/search/Switchboard.java @@ -3578,7 +3578,7 @@ public final class Switchboard extends serverSwitch { } c++; if ( seedListFileURL.startsWith("http://") || seedListFileURL.startsWith("https://") ) { - loadSeedListConcurrently(this.peers, seedListFileURL, scc, (int) getConfigLong("bootstrapLoadTimeout", 10000)); + loadSeedListConcurrently(this.peers, seedListFileURL, scc, (int) getConfigLong("bootstrapLoadTimeout", 20000)); } } } @@ -3651,7 +3651,7 @@ public final class Switchboard extends serverSwitch { } catch ( final IOException e ) { // this is when wget fails, commonly because of timeout - Network.log.logWarning("BOOTSTRAP: failed (1) to load seeds from seed-list URL " + Network.log.logInfo("BOOTSTRAP: failed (1) to load seeds from seed-list URL " + seedListFileURL + ": " + e.getMessage()); } catch ( final Exception e ) { // this is when wget fails; may be because of missing internet connection