Skip to content

Commit

Permalink
emergency bugfix - remove max_tasks_per_child to fix python3.9/3.10
Browse files Browse the repository at this point in the history
  • Loading branch information
TheTechromancer committed Nov 4, 2023
1 parent a5df7b3 commit 35d6d03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bbot/scanner/scanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,7 @@ def __init__(
mp.set_start_method("spawn")
except Exception:
self.warning(f"Failed to set multiprocessing spawn method. This may negatively affect performance.")
self.process_pool = ProcessPoolExecutor(max_tasks_per_child=100)
self.process_pool = ProcessPoolExecutor()

self._stopping = False

Expand Down

0 comments on commit 35d6d03

Please sign in to comment.