Skip to content

Commit

Permalink
Increase matlab request timeout to 10 seconds
Browse files Browse the repository at this point in the history
  • Loading branch information
brollb committed Mar 5, 2024
1 parent c609664 commit 8172c16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/procedures/matlab/matlab.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 8172c16

Please sign in to comment.