diff --git a/CB/Core.py b/CB/Core.py index d5a2417..b902d91 100644 --- a/CB/Core.py +++ b/CB/Core.py @@ -324,7 +324,7 @@ def bulk_check_checksum_callback(self, result): self.checksumCache[result[0]] = result[1] def bulk_check_checksum(self, addons, pbar): - with Pool() as pool: + with Pool(processes=min(60, os.cpu_count() or 1)) as pool: workers = [] for addon in addons: w = pool.apply_async(self.check_checksum, (addon, ), callback=self.bulk_check_checksum_callback)