decrease chunk size to 4MB, fix more potential breakages
This commit is contained in:
@@ -11,7 +11,7 @@ const PARTS_DIR = 'parts';
|
||||
// backoff below tolerates roughly 8 minutes of outage before giving up
|
||||
const MAX_ATTEMPTS = 8;
|
||||
|
||||
const CHUNK_SIZE = 8 * 1024 * 1024;
|
||||
const CHUNK_SIZE = 4 * 1024 * 1024;
|
||||
|
||||
// 60s as the limit for downloading one chunk is a reasonable guess
|
||||
// as the intent is to catch socket breakage during cellular network changes for example
|
||||
|
||||
Reference in New Issue
Block a user