]> git.ipfire.org Git - dbl.git/commitdiff
checker: Use fewer workers
authorMichael Tremer <michael.tremer@ipfire.org>
Mon, 20 Jul 2026 09:19:22 +0000 (09:19 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 20 Jul 2026 09:19:22 +0000 (09:19 +0000)
It seems that we ran into ratelimiting and timeouts when processing to
many domains at the same time. Slowing the rate makes the result more
reliable.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
src/dbl/checker.py

index 0e4a5ed7132e8e755a291748f8923879ddf3b7da..0023876bc05d640bd0a3b73254759df219d39615 100644 (file)
@@ -41,7 +41,7 @@ class Checker(object):
                self.backend = backend
 
                # Initialize the executor
-               self.executor = concurrent.futures.ThreadPoolExecutor(max_workers=1024)
+               self.executor = concurrent.futures.ThreadPoolExecutor(max_workers=64)
 
                # Initialize the resolver
                self.resolver = dns.resolver.Resolver()