fixes to last commit
[distro-setup] / filesystem / etc / systemd / system / bitcoind.service
index 669793380ed6e4a83c3a92a2ee5aa925a1052d93..1a754e9b1745bfd564dd8a25baa46ead50ebb87d 100644 (file)
@@ -21,6 +21,10 @@ After=network-online.target
 Wants=network-online.target
 
 [Service]
+# iank: on a laptop, when it is doing its catchup, it tends to jump
+# between 100% and 180% cpu and makes the fan spin annoyingly.
+# 50% still had annoying fan spin. trying out 20%
+CPUQuota=20%
 ExecStart=/usr/bin/bitcoind -daemonwait \
                             -pid=/run/bitcoind/bitcoind.pid \
                             -conf=/etc/bitcoin/bitcoin.conf \