fix: pay_invoice timeout to prevent blocking (#2875)
* fix: make invoice non blocking * fix with vlad * wallet.js take pending into account * fixup! * add check payment to outgoing * revert * bundle * fix: label * fix: rebase change * feat: configure pay invoice wait time * fix: check payment button * bundle * fix: task in async context --------- Co-authored-by: Vlad Stan <stan.v.vlad@gmail.com>
This commit is contained in:
@@ -553,6 +553,9 @@ class FundingSourcesSettings(
|
||||
BreezSdkFundingSource,
|
||||
):
|
||||
lnbits_backend_wallet_class: str = Field(default="VoidWallet")
|
||||
# How long to wait for the payment to be confirmed before returning a pending status
|
||||
# It will not fail the payment, it will make it return pending after the timeout
|
||||
lnbits_funding_source_pay_invoice_wait_seconds: int = Field(default=5)
|
||||
|
||||
|
||||
class WebPushSettings(LNbitsSettings):
|
||||
|
||||
Reference in New Issue
Block a user