Skip to content
This repository was archived by the owner on Oct 4, 2021. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ public static async Task<ScaffoldingConfig> LoadFromJsonAsync ()
{
if(fetchedConfig == null) {
Stream stream;
using var httpClient = new HttpClient ();
using var httpClient = new HttpClient {
Timeout = TimeSpan.FromSeconds (2)
};

try {
stream = await httpClient.GetStreamAsync (packageVersionsUrl);
Expand Down