From: Roland Häder Date: Mon, 14 Jul 2025 18:25:27 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=77d7e765c220c993d64ab88676cd951e81bcc98b;p=fba.git Continued: - debug lines added --- 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: