Skip to content
Permalink
Browse files

[Launcher] Remove custom Http code and decrease concurrency (which mi…

…ght be problematic since our packages are bigger than average)
  • Loading branch information
xen2 committed Jan 10, 2019
1 parent 855d27e commit affdb7232c8634c23065db2a7beb7b1aa9c73478

This file was deleted.

This file was deleted.

This file was deleted.

@@ -29,7 +29,6 @@ public NugetSourceRepositoryProvider(IPackageSourceProvider packageSourceProvide
PackageSourceProvider = packageSourceProvider;

_resourceProviders = new List<Lazy<INuGetResourceProvider>>();
_resourceProviders.Add(new Lazy<INuGetResourceProvider>(() => new NugetHttpSourceWithDownloadProgressResourceProvider(downloadProgress)));
_resourceProviders.AddRange(Repository.Provider.GetCoreV3());

// Create repositories
@@ -362,6 +362,9 @@ public async Task<NugetLocalPackage> InstallPackage(string packageId, PackageVer

foreach (var request in requests)
{
// Limit concurrency to avoid timeout
request.Request.MaxDegreeOfConcurrency = 4;

var command = new RestoreCommand(request.Request);

// Act

0 comments on commit affdb72

Please sign in to comment.
You can’t perform that action at this time.