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:
co-authored by
Pavol Rusnak
parent
e9e69d9d17
commit
adb8f9bdec
@@ -377,6 +377,7 @@ class EnvSettings(LNbitsSettings):
|
||||
log_retention: str = Field(default="3 months")
|
||||
server_startup_time: int = Field(default=time())
|
||||
cleanup_wallets_days: int = Field(default=90)
|
||||
funding_source_max_retries: int = Field(default=4)
|
||||
|
||||
@property
|
||||
def has_default_extension_path(self) -> bool:
|
||||
|
||||
Reference in New Issue
Block a user