Skip to content

Commit a5e0c5f

Browse files
committed
change resource request timeout to 3 mins
1 parent db95bdb commit a5e0c5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/processSnapshot.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const globalCache = new NodeCache({ stdTTL: 3600, checkperiod: 600 });
99
const MAX_RESOURCE_SIZE = 15 * (1024 ** 2); // 15MB
1010
var ALLOWED_RESOURCES = ['document', 'stylesheet', 'image', 'media', 'font', 'other'];
1111
const ALLOWED_STATUSES = [200, 201];
12-
const REQUEST_TIMEOUT = 1800000;
12+
const REQUEST_TIMEOUT = 180000;
1313
const MIN_VIEWPORT_HEIGHT = 1080;
1414
const MAX_RETRY_WAIT_TIME = 60000;
1515

0 commit comments

Comments
 (0)