From 13c5b09d80b6da7614cea6abefde134ec4598674 Mon Sep 17 00:00:00 2001 From: jonathanmetzman <31354670+jonathanmetzman@users.noreply.github.com> Date: Mon, 4 Nov 2024 16:35:49 -0500 Subject: [PATCH] Use one process to download signed URLs. (#4375) --- src/clusterfuzz/_internal/system/fast_http.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/clusterfuzz/_internal/system/fast_http.py b/src/clusterfuzz/_internal/system/fast_http.py index f5a822c49f..7226221199 100644 --- a/src/clusterfuzz/_internal/system/fast_http.py +++ b/src/clusterfuzz/_internal/system/fast_http.py @@ -16,7 +16,6 @@ from concurrent import futures import contextlib import itertools -import multiprocessing from typing import List from typing import Optional from typing import Tuple @@ -26,7 +25,9 @@ from clusterfuzz._internal.metrics import logs from clusterfuzz._internal.system import environment -_POOL_SIZE = multiprocessing.cpu_count() +# TODO(metzman): Use cpu_count() if we can rule this out as the cause of our NTP +# trouble. +_POOL_SIZE = 1 @contextlib.contextmanager