Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

increased default proxy client timeout to one minute

Michael Peter Christencc90f82dbbae
diff --git a/defaults/yacy.init b/defaults/yacy.init
index 6b69aeed4..3a5c4982a 100644
--- a/defaults/yacy.init
+++ b/defaults/yacy.init
@@ -684,7 +684,7 @@ isTransparentProxy=false
connectionKeepAliveSupport=true
# Specifies the timeout the proxy sould use
-proxy.clientTimeout = 30000
+proxy.clientTimeout = 60000
# Specifies if the proxy should send the via header according to RFC
proxy.sendViaHeader=true
diff --git a/source/net/yacy/server/http/HTTPDProxyHandler.java b/source/net/yacy/server/http/HTTPDProxyHandler.java
index 17fdba890..9218204ca 100644
--- a/source/net/yacy/server/http/HTTPDProxyHandler.java
+++ b/source/net/yacy/server/http/HTTPDProxyHandler.java
@@ -131,7 +131,7 @@ public final class HTTPDProxyHandler {
isTransparentProxy = Boolean.parseBoolean(sb.getConfig("isTransparentProxy","false"));
// set timeout
- timeout = Integer.parseInt(sb.getConfig("proxy.clientTimeout", "10000"));
+ timeout = Integer.parseInt(sb.getConfig("proxy.clientTimeout", "60000"));
// create a htRootPath: system pages
htRootPath = new File(sb.getAppPath(), sb.getConfig("htRootPath","htroot"));