Commit 343ae85137a044a54eb52aea69cbf46f079afefa

Con Kolivas 2011-06-25T20:38:40

Intensity 5 is too high for a normal desktop causing unacceptable lag so change the default to 4.

diff --git a/cpu-miner.c b/cpu-miner.c
index fb9232d..edd0616 100644
--- a/cpu-miner.c
+++ b/cpu-miner.c
@@ -133,7 +133,7 @@ static enum sha256_algos opt_algo = ALGO_C;
 static int nDevs;
 static int opt_n_threads = 1;
 static int num_processors;
-static int scan_intensity = 5;
+static int scan_intensity = 4;
 static char *rpc_url;
 static char *rpc_userpass;
 static char *rpc_user, *rpc_pass;
@@ -187,7 +187,7 @@ static struct option_help options_help[] = {
 	  "(-D) Enable debug output (default: off)" },
 
 	{ "intensity",
-	  "(-I) Intensity of scanning (0 - 10, default 5)" },
+	  "(-I) Intensity of scanning (0 - 10, default 4)" },
 
 	{ "log",
 	  "(-l) Interval in seconds between log output (default 5)" },