In some rare cases, the HTML minifier can be very slow, timeouting other simultaneous requests

This commit is contained in:
Gaël Métais
2021-01-05 22:19:02 +00:00
parent 294c5ab06d
commit fd11e8c1fe
+2 -2
View File
@@ -25,8 +25,8 @@ var imageDimensions = require('./imageDimensions');
var Redownload = function() {
var MAX_PARALLEL_DOWNLOADS = 10;
var REQUEST_TIMEOUT = 15000; // 15 seconds
var MAX_PARALLEL_DOWNLOADS = 5;
var REQUEST_TIMEOUT = 30000; // 30 seconds
// This function will re-download every asset and check if it could be optimized