actually wait 2 hours between each checkpending routine.
This commit is contained in:
parent
6164b9d27e
commit
9cc7052920
1 changed files with 4 additions and 2 deletions
|
|
@ -78,10 +78,12 @@ async def check_pending_payments():
|
||||||
pending=True,
|
pending=True,
|
||||||
exclude_uncheckable=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 payment.check_pending()
|
||||||
|
|
||||||
await trio.sleep(60 * 5)
|
await trio.sleep(60 * 120)
|
||||||
|
|
||||||
|
|
||||||
async def invoice_callback_dispatcher(checking_id: str):
|
async def invoice_callback_dispatcher(checking_id: str):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue