Decrease CPU usage when electrum wallet is open

This commit is contained in:
Taylor Helsper 2020-07-22 20:33:02 -05:00
parent fd412b949c
commit 8e8602e004

View File

@ -12,7 +12,7 @@ KillMode=process
EnvironmentFile=/mnt/hdd/mynode/settings/.btcrpc_environment EnvironmentFile=/mnt/hdd/mynode/settings/.btcrpc_environment
ExecStartPre=/usr/bin/is_not_shutting_down.sh ExecStartPre=/usr/bin/is_not_shutting_down.sh
ExecStartPre=/usr/bin/wait_on_bitcoin.sh ExecStartPre=/usr/bin/wait_on_bitcoin.sh
ExecStart=/usr/bin/electrs --timestamp --db-dir /mnt/hdd/mynode/electrs --electrum-rpc-addr 0.0.0.0:50001 --jsonrpc-import --bulk-index-threads 3 --index-batch-size 12 --daemon-rpc-addr 127.0.0.1:8332 --txid-limit 100 --tx-cache-size-mb 10.0 -vvvv ExecStart=/usr/bin/electrs --timestamp --db-dir /mnt/hdd/mynode/electrs --electrum-rpc-addr 0.0.0.0:50001 --jsonrpc-import --bulk-index-threads 3 --index-batch-size 12 --daemon-rpc-addr 127.0.0.1:8332 --txid-limit 100 --tx-cache-size-mb 10.0 --wait-duration-secs 15 -vvvv
User=bitcoin User=bitcoin
Group=bitcoin Group=bitcoin
TimeoutSec=300 TimeoutSec=300