move rpc thread count setting to lightning modules

This commit is contained in:
Erik Arvstedt 2021-01-14 13:24:32 +01:00
parent 352fc4e8fe
commit e2922eb4ce
No known key found for this signature in database
GPG key ID: 33312B944DD97846
3 changed files with 12 additions and 5 deletions

View file

@ -154,7 +154,12 @@ in {
}
];
services.bitcoind.enable = true;
services.bitcoind = {
enable = true;
# Increase rpc thread count due to reports that lightning implementations fail
# under high bitcoind rpc load
rpc.threads = 16;
};
environment.systemPackages = [ cfg.package (hiPrio cfg.cli) ];