mirror of
https://github.com/lnbits/lnbits.git
synced 2025-08-03 23:42:25 +02:00
little more logging (#953)
This commit is contained in:
@@ -327,6 +327,7 @@ async def delete_expired_invoices(
|
|||||||
AND amount > 0 AND time < {db.timestamp_now} - {db.interval_seconds(86400)}
|
AND amount > 0 AND time < {db.timestamp_now} - {db.interval_seconds(86400)}
|
||||||
"""
|
"""
|
||||||
)
|
)
|
||||||
|
logger.debug(f"Checking expiry of {len(rows)} invoices")
|
||||||
for (payment_request,) in rows:
|
for (payment_request,) in rows:
|
||||||
try:
|
try:
|
||||||
invoice = bolt11.decode(payment_request)
|
invoice = bolt11.decode(payment_request)
|
||||||
|
Reference in New Issue
Block a user