cloudcms-server 3.2.290 → 3.2.292

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -55,26 +55,6 @@ if (typeof(dns.setDefaultResultOrder) !== "undefined") {
55
55
  dns.setDefaultResultOrder("ipv4first");
56
56
  }
57
57
 
58
- // default agents
59
- var HttpKeepAliveAgent = require('agentkeepalive');
60
- var HttpsKeepAliveAgent = require('agentkeepalive').HttpsAgent;
61
- http.globalAgent = new HttpKeepAliveAgent({
62
- keepAlive: true,
63
- keepAliveMsecs: 5000,
64
- maxSockets: 16000,
65
- maxFreeSockets: 256,
66
- timeout: process.defaultHttpTimeoutMs,
67
- freeSocketTimeout: 4000
68
- });
69
- https.globalAgent = new HttpsKeepAliveAgent({
70
- keepAlive: true,
71
- keepAliveMsecs: 1000,
72
- maxSockets: 16000,
73
- maxFreeSockets: 256,
74
- timeout: process.defaultHttpTimeoutMs,
75
- freeSocketTimeout: 4000
76
- });
77
-
78
58
  // disable for now
79
59
  /*
80
60
  // report http/https socket state every minute
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  },
7
7
  "name": "cloudcms-server",
8
8
  "description": "Cloud CMS Application Server Module",
9
- "version": "3.2.290",
9
+ "version": "3.2.292",
10
10
  "repository": {
11
11
  "type": "git",
12
12
  "url": "git://github.com/gitana/cloudcms-server.git"
@@ -16,7 +16,6 @@
16
16
  "@socket.io/redis-adapter": "^7.2.0",
17
17
  "@socket.io/sticky": "^1.0.1",
18
18
  "accepts": "^1.3.8",
19
- "agentkeepalive": "^4.2.1",
20
19
  "alpaca": "^1.5.27",
21
20
  "archiver": "^1.3.0",
22
21
  "async": "^3.2.3",
@@ -73,6 +73,7 @@ var createProxyHandler = function(proxyTarget, pathPrefix)
73
73
  const { proxy, close } = require('fast-proxy')({
74
74
  base: proxyTarget,
75
75
  cacheURLs: 0,
76
+ maxSockets: 16000,
76
77
  //http2: true,
77
78
  //undici: true
78
79
  });