Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/content/using-npm/config.md2
-rw-r--r--lib/utils/config/definitions.js2
-rw-r--r--tap-snapshots/test-lib-utils-config-describe-all.js-TAP.test.js2
3 files changed, 3 insertions, 3 deletions
diff --git a/docs/content/using-npm/config.md b/docs/content/using-npm/config.md
index c701a361a..cfce5396f 100644
--- a/docs/content/using-npm/config.md
+++ b/docs/content/using-npm/config.md
@@ -795,7 +795,7 @@ Show extended information in `npm ls` and `npm search`.
#### `maxsockets`
-* Default: Infinity
+* Default: 15
* Type: Number
The maximum number of connections to use per origin (protocol/host/port
diff --git a/lib/utils/config/definitions.js b/lib/utils/config/definitions.js
index 512ea8af9..db66aa495 100644
--- a/lib/utils/config/definitions.js
+++ b/lib/utils/config/definitions.js
@@ -1154,7 +1154,7 @@ define('long', {
})
define('maxsockets', {
- default: Infinity,
+ default: 15,
type: Number,
description: `
The maximum number of connections to use per origin (protocol/host/port
diff --git a/tap-snapshots/test-lib-utils-config-describe-all.js-TAP.test.js b/tap-snapshots/test-lib-utils-config-describe-all.js-TAP.test.js
index a85f90ac8..2a3d0146b 100644
--- a/tap-snapshots/test-lib-utils-config-describe-all.js-TAP.test.js
+++ b/tap-snapshots/test-lib-utils-config-describe-all.js-TAP.test.js
@@ -674,7 +674,7 @@ Show extended information in \`npm ls\` and \`npm search\`.
#### \`maxsockets\`
-* Default: Infinity
+* Default: 15
* Type: Number
The maximum number of connections to use per origin (protocol/host/port