feat: add funding_source_max_retries env setting (#2404)
* feat: add `funding_source_max_retries` env setting * feat: default to zero retries * feat: exponential retry time increase * chore: Let's use the same value as the default Co-authored-by: Pavol Rusnak <pavol@rusnak.io> * feat: using 0.25 leads to less awkward numbers Co-authored-by: Pavol Rusnak <pavol@rusnak.io> --------- Co-authored-by: Pavol Rusnak <pavol@rusnak.io>
This commit is contained in:
parent
e9e69d9d17
commit
adb8f9bdec
3 changed files with 7 additions and 3 deletions
|
|
@ -34,6 +34,9 @@ LNBITS_BACKEND_WALLET_CLASS=VoidWallet
|
|||
# VoidWallet is just a fallback that works without any actual Lightning capabilities,
|
||||
# just so you can see the UI before dealing with this file.
|
||||
|
||||
# How many times to retry connectiong to the Funding Source before defaulting to the VoidWallet
|
||||
# FUNDING_SOURCE_MAX_RETRIES=4
|
||||
|
||||
# Invoice expiry for LND, CLN, Eclair, LNbits funding sources
|
||||
LIGHTNING_INVOICE_EXPIRY=3600
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue