rise commitWithinMs to default-value from SwitchBoard

(result in lower hd-io)

no dots in memory-graph (there are to much of them)
This commit is contained in:
sixcooler 2012-10-26 02:12:45 +02:00
parent 8fde1dd3b6
commit 2d972f289a
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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;