From 82b69a874e6bdd92f70122d26ff2467ba3f30309 Mon Sep 17 00:00:00 2001 From: jonathanmetzman <31354670+jonathanmetzman@users.noreply.github.com> Date: Wed, 27 Nov 2024 22:08:01 -0500 Subject: [PATCH] Try to bunch tasks on batch more efficiently (#4464) We're experiencing big delays in our batch scheduling (meaning batch is an hour behind). We may have too many jobs for batch. Start trying to bunch the tasks more efficiently so we have fewer jobs. --- src/clusterfuzz/_internal/base/tasks/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/clusterfuzz/_internal/base/tasks/__init__.py b/src/clusterfuzz/_internal/base/tasks/__init__.py index 546d6358ed..f08b9406d5 100644 --- a/src/clusterfuzz/_internal/base/tasks/__init__.py +++ b/src/clusterfuzz/_internal/base/tasks/__init__.py @@ -90,11 +90,11 @@ # See https://github.com/google/clusterfuzz/issues/3347 for usage SUBQUEUE_IDENTIFIER = ':' -UTASK_QUEUE_PULL_SECONDS = 60 +UTASK_QUEUE_PULL_SECONDS = 120 # The maximum number of utasks we will collect from the utask queue before # scheduling on batch. -MAX_UTASKS = 250 +MAX_UTASKS = 800 UTASKS = { 'analyze',