Bump profiling.sampling.cli._SYNC_TIMEOUT_SEC to fix failures on slow Buildbots (#154248)

This commit is contained in:
Stan Ulbrych
2026-07-20 12:14:45 +02:00
committed by GitHub
parent 86e1fed859
commit f40b375ec6
+2 -2
View 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