https://github.com/python/cpython/commit/f40b375ec6a5e51720ea3de34d63553410cdcdf8 commit: f40b375ec6a5e51720ea3de34d63553410cdcdf8 branch: main author: Stan Ulbrych <[email protected]> committer: pablogsal <[email protected]> date: 2026-07-20T12:14:45+02:00 summary:
Bump `profiling.sampling.cli._SYNC_TIMEOUT_SEC` to fix failures on slow Buildbots (#154248) files: M Lib/profiling/sampling/cli.py diff --git a/Lib/profiling/sampling/cli.py b/Lib/profiling/sampling/cli.py index 466b0aceae2dcc6..b47b166c6cd9408 100644 --- a/Lib/profiling/sampling/cli.py +++ b/Lib/profiling/sampling/cli.py @@ -87,8 +87,8 @@ def __call__(self, parser, namespace, values, option_string=None): # 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 _______________________________________________ Python-checkins mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3//lists/python-checkins.python.org Member address: [email protected]
