diff --git a/box.js b/box.js index 7778cff2a..9ea2a1133 100755 --- a/box.js +++ b/box.js @@ -29,7 +29,7 @@ async function setupLogging() { // happy eyeballs workaround. when there is no ipv6, nodejs timesout prematurely since the default for ipv4 is just 250ms // https://github.com/nodejs/node/issues/54359 async function setupNetworking() { - net.setDefaultAutoSelectFamilyAttemptTimeout(1000); + net.setDefaultAutoSelectFamilyAttemptTimeout(2500); } // this is also used as the 'uncaughtException' handler which can only have synchronous functions diff --git a/src/taskworker.js b/src/taskworker.js index 949c00d03..01d85b145 100755 --- a/src/taskworker.js +++ b/src/taskworker.js @@ -59,7 +59,7 @@ async function setupLogging() { // happy eyeballs workaround. see box.js for detailed note async function setupNetworking() { - net.setDefaultAutoSelectFamilyAttemptTimeout(1000); + net.setDefaultAutoSelectFamilyAttemptTimeout(2500); } // this is also used as the 'uncaughtException' handler which can only have synchronous functions