Skip to content

Commit 6b4a95c

Browse files
authored
Use default 8Mb chunking for the FileContainer uploads (#1626)
1 parent c95d5ea commit 6b4a95c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Runner.Plugins/Artifact/FileContainerServer.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ private async Task<UploadResult> UploadAsync(RunnerActionPluginExecutionContext
469469
try
470470
{
471471
uploadTimer.Restart();
472-
using (HttpResponseMessage response = await _fileContainerHttpClient.UploadFileAsync(_containerId, itemPath, fs, _projectId, cancellationToken: token, chunkSize: 4 * 1024 * 1024))
472+
using (HttpResponseMessage response = await _fileContainerHttpClient.UploadFileAsync(_containerId, itemPath, fs, _projectId, cancellationToken: token))
473473
{
474474
if (response == null || response.StatusCode != HttpStatusCode.Created)
475475
{

0 commit comments

Comments
 (0)