From aded326c8615455282b4a6c0d28595cf718b9752 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Thu, 30 Nov 2023 05:21:36 +0100 Subject: [PATCH] Continued: - skip blacklisted domains (aka. instances) --- fba/commands.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fba/commands.py b/fba/commands.py index 88095c3..b5c1acf 100644 --- a/fba/commands.py +++ b/fba/commands.py @@ -1502,6 +1502,9 @@ def update_nodeinfo(args: argparse.Namespace) -> int: if not args.force and instances.is_recent(row["domain"], "last_nodeinfo"): logger.debug("row[domain]='%s' has been recently checked - SKIPPED!", row["domain"]) continue + elif blacklist.is_blacklisted(row["domain"]): + logger.debug("row[domain]='%s' is blacklisted - SKIPPED!", row["domain"]) + continue try: logger.info("Checking nodeinfo for row[domain]='%s',row[software]='%s' (%s%%) ...", row["domain"], row["software"], "{:5.1f}".format(cnt / len(domains) * 100)) -- 2.39.5