Skip to content

Commit

Permalink
decrease big file size to check support github linux container issue …
Browse files Browse the repository at this point in the history
…on file size limitation
  • Loading branch information
Behzad Khosravifar committed Apr 27, 2024
1 parent 64152b4 commit 64d812d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -851,12 +851,12 @@ public async Task DownloadBigFileOnMemory()
public async Task DownloadBigFileWithMemoryLimitationOnDisk()
{
// arrange
var totalSize = 1024 * 1024 * 1024; // 1GB
var totalSize = 1024 * 1024 * 512; // 512MB
byte fillByte = 123;
Config.ChunkCount = 16;
Config.ParallelCount = 16;
Config.MaximumBytesPerSecond = 0;
Config.MaximumMemoryBufferBytes = 1024 * 1024 * 100; // 100MB
Config.MaximumMemoryBufferBytes = 1024 * 1024 * 50; // 50MB
URL = DummyFileHelper.GetFileWithNameUrl(Filename, totalSize, fillByte);
//Downloader.AddLogger(FileLogger.Factory("D:\\TestDownload"));

Expand Down

0 comments on commit 64d812d

Please sign in to comment.