Skip to content

Commit 69b29c3

Browse files
b-barthelBrian Barthel
andauthored
Remove unused maxParallelism parameter from DedupManifestArtifactClientFactory (#5131)
Co-authored-by: Brian Barthel <brbarthe@microsoft.com>
1 parent 300fa25 commit 69b29c3

File tree

5 files changed

+0
-9
lines changed

5 files changed

+0
-9
lines changed

src/Agent.Plugins/Artifact/FileShareProvider.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ public async Task DownloadMultipleArtifactsAsync(
6666
context.IsSystemDebugTrue(),
6767
(str) => context.Output(str),
6868
connection,
69-
this.factory.GetDedupStoreClientMaxParallelism(context),
7069
WellKnownDomainIds.DefaultDomainId,
7170
Microsoft.VisualStudio.Services.BlobStore.WebApi.Contracts.Client.FileShare,
7271
context,
@@ -119,7 +118,6 @@ public async Task PublishArtifactAsync(
119118
context.IsSystemDebugTrue(),
120119
(str) => context.Output(str),
121120
connection,
122-
this.factory.GetDedupStoreClientMaxParallelism(context),
123121
WellKnownDomainIds.DefaultDomainId,
124122
Microsoft.VisualStudio.Services.BlobStore.WebApi.Contracts.Client.FileShare,
125123
context,

src/Agent.Plugins/Artifact/PipelineArtifactProvider.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ public async Task DownloadSingleArtifactAsync(
4949
this.context.IsSystemDebugTrue(),
5050
(str) => this.context.Output(str),
5151
this.connection,
52-
DedupManifestArtifactClientFactory.Instance.GetDedupStoreClientMaxParallelism(context),
5352
domainId,
5453
Microsoft.VisualStudio.Services.BlobStore.WebApi.Contracts.Client.PipelineArtifact,
5554
context,
@@ -119,7 +118,6 @@ public async Task DownloadMultipleArtifactsAsync(
119118
this.context.IsSystemDebugTrue(),
120119
(str) => this.context.Output(str),
121120
this.connection,
122-
DedupManifestArtifactClientFactory.Instance.GetDedupStoreClientMaxParallelism(context),
123121
domainId,
124122
Microsoft.VisualStudio.Services.BlobStore.WebApi.Contracts.Client.PipelineArtifact,
125123
context,

src/Agent.Plugins/PipelineCache/PipelineCacheServer.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ internal async Task UploadAsync(
4646
context.IsSystemDebugTrue(),
4747
(str) => context.Output(str),
4848
connection,
49-
DedupManifestArtifactClientFactory.Instance.GetDedupStoreClientMaxParallelism(context),
5049
WellKnownDomainIds.DefaultDomainId,
5150
Microsoft.VisualStudio.Services.BlobStore.WebApi.Contracts.Client.PipelineCache,
5251
context,
@@ -168,7 +167,6 @@ internal async Task DownloadAsync(
168167
context.IsSystemDebugTrue(),
169168
(str) => context.Output(str),
170169
connection,
171-
DedupManifestArtifactClientFactory.Instance.GetDedupStoreClientMaxParallelism(context),
172170
WellKnownDomainIds.DefaultDomainId,
173171
Microsoft.VisualStudio.Services.BlobStore.WebApi.Contracts.Client.PipelineCache,
174172
context,

src/Microsoft.VisualStudio.Services.Agent/Blob/DedupManifestArtifactClientFactory.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ public interface IDedupManifestArtifactClientFactory
4949
bool verbose,
5050
Action<string> traceOutput,
5151
VssConnection connection,
52-
int maxParallelism,
5352
IDomainId domainId,
5453
BlobStore.WebApi.Contracts.Client client,
5554
AgentTaskPluginExecutionContext context,
@@ -104,7 +103,6 @@ private DedupManifestArtifactClientFactory()
104103
bool verbose,
105104
Action<string> traceOutput,
106105
VssConnection connection,
107-
int maxParallelism,
108106
IDomainId domainId,
109107
BlobStore.WebApi.Contracts.Client client,
110108
AgentTaskPluginExecutionContext context,

src/Test/L0/Plugin/TestFileShareProvider/MockDedupManifestArtifactClientFactory.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ public class MockDedupManifestArtifactClientFactory : IDedupManifestArtifactClie
2424
bool verbose,
2525
Action<string> traceOutput,
2626
VssConnection connection,
27-
int maxParallelism,
2827
IDomainId domainId,
2928
BlobStore.WebApi.Contracts.Client client,
3029
AgentTaskPluginExecutionContext context,

0 commit comments

Comments
 (0)