bonesmasher commited on
Commit
32197b4
·
verified ·
1 Parent(s): 1830215

changed the chunk size to 1 mb

Browse files
Files changed (1) hide show
  1. internal/utils/reader.go +1 -1
internal/utils/reader.go CHANGED
@@ -51,7 +51,7 @@ func NewTelegramReader(
51
  client: client,
52
  start: start,
53
  end: end,
54
- chunkSize: int64(4 * 1024 * 1024), // 4 MB chunk size
55
  contentLength: contentLength,
56
  maxRetries: 5, // Allow up to 5 retries for any chunk failure
57
  }
 
51
  client: client,
52
  start: start,
53
  end: end,
54
+ chunkSize: int64(1024 * 1024), // 4 MB chunk size
55
  contentLength: contentLength,
56
  maxRetries: 5, // Allow up to 5 retries for any chunk failure
57
  }