Skip to content

Add a timeout to WiX download - #8385

Merged
agocke merged 1 commit into
mainfrom
MichalStrehovsky-patch-1
Feb 17, 2022
Merged

agocke merged 1 commit into
mainfrom
MichalStrehovsky-patch-1

Conversation

@MichalStrehovsky

Copy link
Copy Markdown
Member

The WiX download is huge and for some reason it goes slowly on my otherwise 80 Mbps connection. The default timeout is causing an unnecessary build break that I keep hitting.

I filed this as #8301 originally (for the root cause) but since that one was closed and I hit it again and lost time on this, I'm proposing this workaround. This has worked for me locally.

The WiX download is huge and for some reason it goes slowly on my otherwise 80 Mbps connection. The default timeout is causing an unnecessary build break that I keep hitting.

I filed this as #8301 originally (for the root cause) but since that one was closed and I hit it again and lost time on this, I'm proposing this workaround.
@MichalStrehovsky

Copy link
Copy Markdown
Member Author

Cc @markwilkie.

Also, NuGet uses this wrapper for downloads that lets them detect there's no progress, as an alternative fix: https://github.com/NuGet/NuGet.Client/blob/f24bad0668193ce21a1db8cabd1ce95ba509c7f0/src/NuGet.Core/NuGet.Protocol/Utility/DownloadTimeoutStream.cs

I would prefer something to be done about this because this regularly happens when I need to build the packs subset of the dotnet/runtime repo and I've lost time on this twice already.

Fortunately, I rarely need to build packs.

@agocke
agocke merged commit 49750c0 into main Feb 17, 2022
@agocke
agocke deleted the MichalStrehovsky-patch-1 branch February 17, 2022 23:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants