diff options
author | Josip Sokcevic <sokcevic@google.com> | 2023-12-19 09:45:44 -0800 |
---|---|---|
committer | LUCI <gerrit-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-12-19 19:38:52 +0000 |
commit | e5fb6e585f593162ee2b10ad64cdd7ea2a577a06 (patch) | |
tree | d2a8825a34ef6c1df3dbadd5ff09d3196f89fa44 /project.py | |
parent | 48e4137eba1678c40a4caa92d9148a9ade76ec90 (diff) | |
download | git-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