Skip to content

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

rise commitWithinMs to default-value from SwitchBoard (result in lower hd-io)

sixcooler2d972f289a3c
diff --git a/defaults/yacy.init b/defaults/yacy.init
index e58561967..f3d7837c3 100644
--- a/defaults/yacy.init
+++ b/defaults/yacy.init
@@ -1051,7 +1051,7 @@ color_searchurlhover = #008000
# - to check whats in solr after indexing, open http://localhost:8983/solr/admin/
federated.service.solr.indexing.enabled = false
federated.service.solr.indexing.url = http://127.0.0.1:8983/solr
-federated.service.solr.indexing.commitWithinMs = 1000
+federated.service.solr.indexing.commitWithinMs = 180000
federated.service.solr.indexing.sharding = MODULO_HOST_MD5
federated.service.solr.indexing.schemefile = solr.keys.default.list
# the lazy attribute causes that fields containing "" or 0 are not added and not written
diff --git a/source/net/yacy/peers/graphics/ProfilingGraph.java b/source/net/yacy/peers/graphics/ProfilingGraph.java
index 7c8cb5a46..e8fd8c12d 100644
--- a/source/net/yacy/peers/graphics/ProfilingGraph.java
+++ b/source/net/yacy/peers/graphics/ProfilingGraph.java
@@ -121,8 +121,8 @@ public class ProfilingGraph {
bytes = ((Long) event.payload).longValue();
x1 = (int) (time/1000);
y1 = (int) (bytes / 1024 / 1024);
- chart.setColor(Long.parseLong("AAAAFF", 16));
- chart.chartDot(ChartPlotter.DIMENSION_BOTTOM, ChartPlotter.DIMENSION_RIGHT, x1, y1, 2, null, 0);
+// the dots don't chart.setColor(Long.parseLong("AAAAFF", 16));
+// very nice chart.chartDot(ChartPlotter.DIMENSION_BOTTOM, ChartPlotter.DIMENSION_RIGHT, x1, y1, 2, null, 0);
chart.setColor(Long.parseLong("0000FF", 16));
if (x0 < 0) chart.chartLine(ChartPlotter.DIMENSION_BOTTOM, ChartPlotter.DIMENSION_RIGHT, x0, y0, x1, y1);
x0 = x1; y0 = y1;