Make lnd timeout configurable

This commit is contained in:
nymkappa
2023-03-20 16:35:44 +09:00
parent 100daab4db
commit e7b72e1ea4
7 changed files with 14 additions and 5 deletions

View File

@@ -17,7 +17,7 @@ class LndApi implements AbstractLightningApi {
httpsAgent: new Agent({
ca: fs.readFileSync(config.LND.TLS_CERT_PATH)
}),
timeout: 10000
timeout: config.LND.TIMEOUT
};
}
}