From 2ea03abe55053bcc5194df071acf51b1f68fc3f5 Mon Sep 17 00:00:00 2001 From: Makyen Date: Sat, 16 Nov 2024 07:06:08 -0800 Subject: [PATCH] Return YAMLParserNS max_workers to 20 --- blacklists.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blacklists.py b/blacklists.py index 308462732ca..7d11225f27e 100644 --- a/blacklists.py +++ b/blacklists.py @@ -360,7 +360,7 @@ def item_check(ns): def validate_list(self, list_to_validate): # 20 max_workers appeared to be reasonable. When 30 or 50 workers were tried, # it appeared to result in longer times and intermittent failures. - with ThreadPoolExecutor(max_workers=10) as executor: + with ThreadPoolExecutor(max_workers=20) as executor: return list(executor.map(self._validate, list_to_validate, timeout=300)) def validate(self):