From 4662a79c3bd4093634ea044abaed93a432226ca8 Mon Sep 17 00:00:00 2001 From: calle <93376500+callebtc@users.noreply.github.com> Date: Fri, 9 Sep 2022 16:46:27 +0300 Subject: [PATCH] little more logging (#953) --- lnbits/core/crud.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lnbits/core/crud.py b/lnbits/core/crud.py index c54d3c184..4122f9026 100644 --- a/lnbits/core/crud.py +++ b/lnbits/core/crud.py @@ -327,6 +327,7 @@ async def delete_expired_invoices( 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: try: invoice = bolt11.decode(payment_request)