From 77d7e765c220c993d64ab88676cd951e81bcc98b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Mon, 14 Jul 2025 20:25:27 +0200 Subject: [PATCH] Continued: - debug lines added --- fba/commands.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fba/commands.py b/fba/commands.py index b24e4c1..8610bf0 100644 --- a/fba/commands.py +++ b/fba/commands.py @@ -1051,6 +1051,8 @@ def fetch_instances(args: argparse.Namespace) -> int: # Fetch records database.cursor.execute("SELECT domain, origin, software FROM instances WHERE software = ? ORDER BY last_instance_fetch ASC", [software]) rows = database.cursor.fetchall() + + logger.debug("rows()=%d", len(rows)) else: # Loop through some instances logger.debug("Querying database for peer sources ...") @@ -1066,6 +1068,7 @@ WHERE software IN ( \ ORDER BY total_peers DESC, last_response_time ASC, last_updated ASC" ) rows = database.cursor.fetchall() + logger.debug("rows()=%d", len(rows)) logger.info("Checking %d entries ...", len(rows)) for row in rows: -- 2.39.5