*) correcting validation of proxyStoreHTCache in ProxyIndexingMonitor configuration

See: http://www.yacy-forum.de/viewtopic.php?p=22663


git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@2188 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
theli 19 years ago
parent 38a1410361
commit d2dc848902

@ -88,7 +88,7 @@ public class ProxyIndexingMonitor_p {
if (newProxyPrefetchDepth < 0) newProxyPrefetchDepth = 0;
if (newProxyPrefetchDepth > 20) newProxyPrefetchDepth = 20; // self protection ?
env.setConfig("proxyPrefetchDepth", Integer.toString(newProxyPrefetchDepth));
boolean proxyStoreHTCache = (post.get("proxyStoreHTCache", "")).equals("on");
boolean proxyStoreHTCache = post.containsKey("proxyStoreHTCache");
env.setConfig("proxyStoreHTCache", (proxyStoreHTCache) ? "true" : "false");
boolean proxyCrawlOrder = post.containsKey("proxyCrawlOrder");
env.setConfig("proxyCrawlOrder", proxyCrawlOrder ? "true" : "false");

Loading…
Cancel
Save