From 47161e6d91c8f8fae420ef830cafd19d18b2f448 Mon Sep 17 00:00:00 2001 From: Mingye Wang Date: Wed, 22 Nov 2017 12:23:29 -0500 Subject: [PATCH] Use lowest CPU priority Lowering the CPU priority allows miners to run almost impact-free at 100% CPU usage. In other words we can make the impact setting (much) more aggressive. Fixes #32. --- desktop/miner.js | 1 + 1 file changed, 1 insertion(+) diff --git a/desktop/miner.js b/desktop/miner.js index f7436e5..f0da189 100644 --- a/desktop/miner.js +++ b/desktop/miner.js @@ -21,6 +21,7 @@ class Miner { '--keepalive': '', '--no-color': '', '--max-cpu-usage': '25', + '--cpu-priority': '0', '--print-time': '4' };