Fixed threading calculation.

This commit is contained in:
Discsearcher
2026-08-11 23:42:57 -04:00
parent 77066ec15f
commit ab35545a93
+1 -1
View File
@@ -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