diff --git a/htroot/Performance_p.html b/htroot/Performance_p.html index 5624ebc1a..ff4f43df8 100644 --- a/htroot/Performance_p.html +++ b/htroot/Performance_p.html @@ -42,8 +42,8 @@ #[busycycles]# #[sleeppercycle]# #[execpercycle]# - sec - sec + milliseconds + milliseconds #[longdescr]# #{/table}# diff --git a/htroot/Performance_p.java b/htroot/Performance_p.java index 6b4cacf82..a5cad4b20 100644 --- a/htroot/Performance_p.java +++ b/htroot/Performance_p.java @@ -116,8 +116,8 @@ public class Performance_p { if ((post != null) && (post.containsKey("delaysubmit"))) { // load with new values - idlesleep = Long.parseLong((String) post.get(threadName + "_idlesleep", "1")) * 1000; - busysleep = Long.parseLong((String) post.get(threadName + "_busysleep", "1")) * 1000; + idlesleep = Long.parseLong((String) post.get(threadName + "_idlesleep", "1")); + busysleep = Long.parseLong((String) post.get(threadName + "_busysleep", "1")); // check values to prevent short-cut loops if (idlesleep == 0) idlesleep = 1000; @@ -131,8 +131,8 @@ public class Performance_p { idlesleep = Long.parseLong(switchboard.getConfig(threadName + "_idlesleep" , "1000")); busysleep = Long.parseLong(switchboard.getConfig(threadName + "_busysleep", "1000")); } - prop.put("table_" + c + "_idlesleep", idlesleep / 1000); - prop.put("table_" + c + "_busysleep", busysleep / 1000); + prop.put("table_" + c + "_idlesleep", idlesleep); + prop.put("table_" + c + "_busysleep", busysleep); c++; } diff --git a/yacy.init b/yacy.init index 76ed172ec..eabcf1f1b 100644 --- a/yacy.init +++ b/yacy.init @@ -399,11 +399,11 @@ xpstopw=true 40_peerseedcycle_idlesleep=1800000 40_peerseedcycle_busysleep=1200000 50_localcrawl_idlesleep=10000 -50_localcrawl_busysleep=0 +50_localcrawl_busysleep=200 61_globalcrawltrigger_idlesleep=10000 -61_globalcrawltrigger_busysleep=0 +61_globalcrawltrigger_busysleep=200 62_remotetriggeredcrawl_idlesleep=20000 -62_remotetriggeredcrawl_busysleep=0 +62_remotetriggeredcrawl_busysleep=200 70_cachemanager_idlesleep=10000 70_cachemanager_busysleep=0 80_indexing_idlesleep=10000