]> git.mxchange.org Git - fba.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Thu, 30 Nov 2023 04:21:36 +0000 (05:21 +0100)
committerRoland Häder <roland@mxchange.org>
Thu, 30 Nov 2023 04:21:36 +0000 (05:21 +0100)
- skip blacklisted domains (aka. instances)

fba/commands.py

index 88095c3549f96988a7a22278793c2aa5a78da23c..b5c1acf02c5d6b0c1fe30ae0b37418f30c513801 100644 (file)
@@ -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))