mostly fixes
[distro-setup] / filesystem / etc / systemd / system / bitcoind.service
index 669793380ed6e4a83c3a92a2ee5aa925a1052d93..5d3206d2eefe1da13fa3ce0832ec3b3f45d77231 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. Randomly
+# trying out 50% to see if it will make the fan quieter.
+CPUQuota=50%
 ExecStart=/usr/bin/bitcoind -daemonwait \
                             -pid=/run/bitcoind/bitcoind.pid \
                             -conf=/etc/bitcoin/bitcoin.conf \