Skip to content

Commit 5197f69

Browse files
committed
feat(resolveConfig): enable "RESUME_DOWNLOAD" by default
1 parent 2a15cf6 commit 5197f69

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/api/config-options.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ Set this to control how many times the downloader will attempt to recover from t
289289

290290
Option `RESUME_DOWNLOAD` is used to enable / disable resuming a download of a binary instead of starting over on retries or interruptions.
291291

292-
Default: `false`
292+
Default: `true`
293293

294294
## How to use them in the package.json
295295

packages/mongodb-memory-server-core/src/util/resolveConfig.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export const defaultValues = new Map<ResolveConfigVariables, string>([
5454
[ResolveConfigVariables.MD5_CHECK, 'true'],
5555
[ResolveConfigVariables.MAX_REDIRECTS, '2'],
5656
[ResolveConfigVariables.MAX_RETRIES, '3'], // Default maxRetries for downloads
57-
[ResolveConfigVariables.RESUME_DOWNLOAD, 'false'],
57+
[ResolveConfigVariables.RESUME_DOWNLOAD, 'true'],
5858
]);
5959

6060
/** Interface for storing information about the found package.json from `findPackageJson` */

0 commit comments

Comments
 (0)