Give lnd a bit more RAM to reduce CPU usage

This commit is contained in:
Taylor Helsper 2019-08-24 15:45:39 -05:00
parent ab8d4e21e7
commit 13eb382948

View File

@ -9,7 +9,7 @@ After=bitcoind.service
[Service] [Service]
ExecStartPre=/usr/bin/pre_lnd.sh ExecStartPre=/usr/bin/pre_lnd.sh
ExecStartPre=/usr/bin/wait_on_bitcoin.sh ExecStartPre=/usr/bin/wait_on_bitcoin.sh
ExecStart=/usr/local/bin/lnd ExecStart=/usr/local/bin/lnd --caches.channel-cache-size=35000
#ExecStartPost=/usr/bin/unlock_lnd.sh #ExecStartPost=/usr/bin/unlock_lnd.sh
User=bitcoin User=bitcoin