]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Bump `profiling.sampling.cli._SYNC_TIMEOUT_SEC` to fix failures on slow Buildbots...
authorStan Ulbrych <stan@python.org>
Mon, 20 Jul 2026 10:14:45 +0000 (12:14 +0200)
committerGitHub <noreply@github.com>
Mon, 20 Jul 2026 10:14:45 +0000 (12:14 +0200)
Lib/profiling/sampling/cli.py

index 466b0aceae2dcc6affb475a316cd0f4eb403f0d3..b47b166c6cd9408436e5db7cb7b3a6af4a6b62e8 100644 (file)
@@ -87,8 +87,8 @@ Use `python -m profiling.sampling <command> --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