diff --git a/dns_compare.py b/dns_compare.py index 030ae61..2ae60fa 100755 --- a/dns_compare.py +++ b/dns_compare.py @@ -141,7 +141,7 @@ for full_domain in full_domains: query_tasks.append((full_domain, ns, record_type)) # Determine thread count: CPU count - 1, minimum 1 -thread_count = max(1, os.cpu_count() - 1) +thread_count = 1 if 1 else os.cpu_count() - 1 # Execute queries in parallel results_map = {} # (full_domain, ns) -> resolved_ip