From 8172c16a46c18ee07de4474108039152fc1f3fca Mon Sep 17 00:00:00 2001 From: Brian Broll Date: Tue, 5 Mar 2024 08:53:19 -0600 Subject: [PATCH] Increase matlab request timeout to 10 seconds --- src/procedures/matlab/matlab.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/procedures/matlab/matlab.js b/src/procedures/matlab/matlab.js index fcd48140..14917670 100644 --- a/src/procedures/matlab/matlab.js +++ b/src/procedures/matlab/matlab.js @@ -32,7 +32,7 @@ const warmer = new KeepWarm(async () => { async function requestWithRetry(url, body, numRetries = 0) { try { return await request.post(url, body, { - timeout: 5000, + timeout: 10000, }); } catch (err) { if (err.code === "ECONNABORTED" && numRetries > 0) {