From f40b375ec6a5e51720ea3de34d63553410cdcdf8 Mon Sep 17 00:00:00 2001 From: Stan Ulbrych Date: Mon, 20 Jul 2026 12:14:45 +0200 Subject: [PATCH] Bump `profiling.sampling.cli._SYNC_TIMEOUT_SEC` to fix failures on slow Buildbots (#154248) --- Lib/profiling/sampling/cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/profiling/sampling/cli.py b/Lib/profiling/sampling/cli.py index 466b0aceae2d..b47b166c6cd9 100644 --- a/Lib/profiling/sampling/cli.py +++ b/Lib/profiling/sampling/cli.py @@ -87,8 +87,8 @@ Use `python -m profiling.sampling --help` for command-specific help."" # Constants for socket synchronization -_SYNC_TIMEOUT_SEC = 5.0 -_PROCESS_KILL_TIMEOUT_SEC = 2.0 +_SYNC_TIMEOUT_SEC = 15.0 +_PROCESS_KILL_TIMEOUT_SEC = 5.0 _READY_MESSAGE = b"ready" _RECV_BUFFER_SIZE = 1024 _BINARY_PROFILE_HEADER_SIZE = 64 -- 2.47.3