Make lnd timeout configurable

This commit is contained in:
nymkappa committed 2023-03-20 16:35:44 +09:00
1 parent 81d563381a
commit c6e063ea2f
7 files changed
+14 -5

No files matched your search

+1 -1
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
};
}
}