From 35d6d03498d0987d07ce8c331dbf8d5d16c0fca0 Mon Sep 17 00:00:00 2001 From: TheTechromancer Date: Sat, 4 Nov 2023 06:05:21 -0400 Subject: [PATCH 1/3] emergency bugfix - remove max_tasks_per_child to fix python3.9/3.10 --- bbot/scanner/scanner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bbot/scanner/scanner.py b/bbot/scanner/scanner.py index 12ac280d5..ecc4d31e4 100644 --- a/bbot/scanner/scanner.py +++ b/bbot/scanner/scanner.py @@ -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 From 5bfb82a88cef95b8e5dfe83244e5cee4f4ee0910 Mon Sep 17 00:00:00 2001 From: TheTechromancer Date: Sat, 4 Nov 2023 06:07:40 -0400 Subject: [PATCH 2/3] increment version for bugfix --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index acc37b04d..81a6ea8cd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -90,7 +90,7 @@ line-length = 119 [tool.poetry-dynamic-versioning] enable = true metadata = false -format-jinja = 'v1.1.2{% if branch == "dev" %}.{{ distance }}rc{% endif %}' +format-jinja = 'v1.1.2.1{% if branch == "dev" %}.{{ distance }}rc{% endif %}' [tool.poetry-dynamic-versioning.substitution] files = ["*/__init__.py"] From f7cee2889aac5e0dc5905d43bf1c279af8322ea4 Mon Sep 17 00:00:00 2001 From: TheTechromancer <20261699+TheTechromancer@users.noreply.github.com> Date: Sat, 4 Nov 2023 08:03:57 -0400 Subject: [PATCH 3/3] Update pyproject.toml --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 81a6ea8cd..d13015ed3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -90,7 +90,7 @@ line-length = 119 [tool.poetry-dynamic-versioning] enable = true metadata = false -format-jinja = 'v1.1.2.1{% if branch == "dev" %}.{{ distance }}rc{% endif %}' +format-jinja = 'v1.1.3{% if branch == "dev" %}.{{ distance }}rc{% endif %}' [tool.poetry-dynamic-versioning.substitution] files = ["*/__init__.py"]