Skip to content

Commit f40b375

Browse files
Bump profiling.sampling.cli._SYNC_TIMEOUT_SEC to fix failures on slow Buildbots (#154248)
1 parent 86e1fed commit f40b375

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Lib/profiling/sampling/cli.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,8 @@ def __call__(self, parser, namespace, values, option_string=None):
8787

8888

8989
# Constants for socket synchronization
90-
_SYNC_TIMEOUT_SEC = 5.0
91-
_PROCESS_KILL_TIMEOUT_SEC = 2.0
90+
_SYNC_TIMEOUT_SEC = 15.0
91+
_PROCESS_KILL_TIMEOUT_SEC = 5.0
9292
_READY_MESSAGE = b"ready"
9393
_RECV_BUFFER_SIZE = 1024
9494
_BINARY_PROFILE_HEADER_SIZE = 64

0 commit comments

Comments
 (0)