Comparing version 9.0.0 to 9.0.1
@@ -23,2 +23,4 @@ // Licensed under the Apache License, Version 2.0 (the 'License'); you may not | ||
const AGENT_DEFAULTS = { keepAlive: true, maxSockets: 50, keepAliveMsecs: 30000 } | ||
const defaultHttpAgent = new http.Agent(AGENT_DEFAULTS) | ||
const defaultHttpsAgent = new https.Agent(AGENT_DEFAULTS) | ||
const ChangesReader = require('./changesreader.js') | ||
@@ -335,4 +337,4 @@ | ||
} | ||
req.httpAgent = cfg.requestDefaults.agent || new http.Agent(AGENT_DEFAULTS) | ||
req.httpsAgent = cfg.requestDefaults.agent || new https.Agent(AGENT_DEFAULTS) | ||
req.httpAgent = cfg.requestDefaults.agent || defaultHttpAgent | ||
req.httpsAgent = cfg.requestDefaults.agent || defaultHttpsAgent | ||
@@ -339,0 +341,0 @@ // actually do the HTTP request |
@@ -7,3 +7,3 @@ { | ||
"repository": "http://github.com/apache/couchdb-nano", | ||
"version": "9.0.0", | ||
"version": "9.0.1", | ||
"author": "Apache CouchDB <dev@couchdb.apache.org> (http://couchdb.apache.org)", | ||
@@ -10,0 +10,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
155411
2432