@tramvai/module-cache-warmup 1.99.1 → 1.101.4
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/server.es.js +1 -1
- package/lib/server.js +1 -1
- package/package.json +5 -5
package/lib/server.es.js
CHANGED
|
@@ -99,7 +99,7 @@ async function warmUpCache(options) {
|
|
|
99
99
|
const results = await queueRequests({
|
|
100
100
|
makeRequest: sendWarmUpRequest,
|
|
101
101
|
requestsOptions,
|
|
102
|
-
maxSimultaneous:
|
|
102
|
+
maxSimultaneous: 1,
|
|
103
103
|
});
|
|
104
104
|
const failed = results.filter((result) => result.result === 'rejected');
|
|
105
105
|
if (failed.length) {
|
package/lib/server.js
CHANGED
|
@@ -108,7 +108,7 @@ async function warmUpCache(options) {
|
|
|
108
108
|
const results = await queueRequests({
|
|
109
109
|
makeRequest: sendWarmUpRequest,
|
|
110
110
|
requestsOptions,
|
|
111
|
-
maxSimultaneous:
|
|
111
|
+
maxSimultaneous: 1,
|
|
112
112
|
});
|
|
113
113
|
const failed = results.filter((result) => result.result === 'rejected');
|
|
114
114
|
if (failed.length) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tramvai/module-cache-warmup",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.101.4",
|
|
4
4
|
"description": "tramvai cache warmup module",
|
|
5
5
|
"browser": "lib/browser.js",
|
|
6
6
|
"main": "lib/server.js",
|
|
@@ -25,10 +25,10 @@
|
|
|
25
25
|
"@tinkoff/url": "0.7.37"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
|
-
"@tramvai/core": "1.
|
|
29
|
-
"@tramvai/module-common": "1.
|
|
30
|
-
"@tramvai/state": "1.
|
|
31
|
-
"@tramvai/tokens-http-client": "1.
|
|
28
|
+
"@tramvai/core": "1.101.4",
|
|
29
|
+
"@tramvai/module-common": "1.101.4",
|
|
30
|
+
"@tramvai/state": "1.101.4",
|
|
31
|
+
"@tramvai/tokens-http-client": "1.101.4",
|
|
32
32
|
"tslib": "^2.0.3"
|
|
33
33
|
},
|
|
34
34
|
"module": "lib/server.es.js",
|