summaryrefslogtreecommitdiffstats
path: root/project.py
diff options
context:
space:
mode:
authorJosip Sokcevic <sokcevic@google.com>2023-12-19 09:45:44 -0800
committerLUCI <gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com>2023-12-19 19:38:52 +0000
commite5fb6e585f593162ee2b10ad64cdd7ea2a577a06 (patch)
treed2a8825a34ef6c1df3dbadd5ff09d3196f89fa44 /project.py
parent48e4137eba1678c40a4caa92d9148a9ade76ec90 (diff)
downloadgit-repo-e5fb6e585f593162ee2b10ad64cdd7ea2a577a06.tar.gz
git_trace2: Add socket timeout
repo blocks indefinitely until trace collector receives trace events, which is not desired. This change adds a fixed timeout to connect and send operations. It is possible that some events will be lost. repo logs any failed trace operation. Bug: b/316227772 Change-Id: I017636421b8e22ae3fcbab9e4eb2bee1d4fbbff4 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/398717 Tested-by: Josip Sokcevic <sokcevic@google.com> Commit-Queue: Josip Sokcevic <sokcevic@google.com> Reviewed-by: Jason Chang <jasonnc@google.com>
Diffstat (limited to 'project.py')
0 files changed, 0 insertions, 0 deletions