@tramvai/tinkoff-request-http-client-adapter 0.8.116 → 0.8.117

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/lib/index.es.js CHANGED
@@ -13,9 +13,7 @@ import compose from '@tinkoff/utils/function/compose';
13
13
 
14
14
  const createAgent = (options = {
15
15
  keepAlive: true,
16
- keepAliveMsecs: 5000,
17
- maxSockets: 30,
18
- maxFreeSockets: 10,
16
+ scheduling: 'lifo',
19
17
  }) => {
20
18
  return {
21
19
  http: new http.Agent(options),
package/lib/index.js CHANGED
@@ -32,9 +32,7 @@ var compose__default = /*#__PURE__*/_interopDefaultLegacy(compose);
32
32
 
33
33
  const createAgent = (options = {
34
34
  keepAlive: true,
35
- keepAliveMsecs: 5000,
36
- maxSockets: 30,
37
- maxFreeSockets: 10,
35
+ scheduling: 'lifo',
38
36
  }) => {
39
37
  return {
40
38
  http: new http__default["default"].Agent(options),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tramvai/tinkoff-request-http-client-adapter",
3
- "version": "0.8.116",
3
+ "version": "0.8.117",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "browser": {
@@ -31,7 +31,7 @@
31
31
  "@tinkoff/request-plugin-validate": "^0.8.8",
32
32
  "@tinkoff/utils": "^2.1.2",
33
33
  "@tramvai/http-client": "0.1.21",
34
- "@tramvai/tokens-common": "1.14.0",
34
+ "@tramvai/tokens-common": "1.14.1",
35
35
  "tslib": "^2.0.3"
36
36
  },
37
37
  "sideEffects": false,