mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2024-11-20 10:39:59 +01:00
actually wait 2 hours between each checkpending routine.
This commit is contained in:
parent
6164b9d27e
commit
9cc7052920
@ -78,10 +78,12 @@ async def check_pending_payments():
|
||||
pending=True,
|
||||
exclude_uncheckable=True,
|
||||
):
|
||||
print(" - checking pending", payment.checking_id)
|
||||
print(
|
||||
f" - checking {'in' if payment.is_in else 'out'} pending: {payment.checking_id}"
|
||||
)
|
||||
await payment.check_pending()
|
||||
|
||||
await trio.sleep(60 * 5)
|
||||
await trio.sleep(60 * 120)
|
||||
|
||||
|
||||
async def invoice_callback_dispatcher(checking_id: str):
|
||||
|
Loading…
Reference in New Issue
Block a user