Skip to content

Commit

Permalink
update sample max retry count
Browse files Browse the repository at this point in the history
  • Loading branch information
bezzad committed Jan 13, 2025
1 parent 0208e93 commit 06c389d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Samples/Downloader.Sample/Program.Config.cs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ private static DownloadConfiguration GetDownloadConfiguration()
BufferBlockSize = 10240, // usually, hosts support max to 8000 bytes, default values is 8000
ChunkCount = 8, // file parts to download, default value is 1
MaximumBytesPerSecond = 1024 * 1024 * 20, // download speed limited to 20MB/s, default values is zero or unlimited
MaxTryAgainOnFailover = 5, // the maximum number of times to fail
MaxTryAgainOnFailover = 50_000, // the maximum number of times to fail
MaximumMemoryBufferBytes = 1024 * 1024 * 500, // release memory buffer after each 500MB
ParallelDownload = true, // download parts of file as parallel or not. Default value is false
ParallelCount = 8, // number of parallel downloads. The default value is the same as the chunk count
Expand Down

0 comments on commit 06c389d

Please sign in to comment.