mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-04-24 04:55:42 +00:00
Merge pull request #2253 from balena-os/increase-auto-select-family-timeout
Increase the timeout for auto select family to 5000ms to avoid issues
This commit is contained in:
commit
3c1763c6a8
@ -2,6 +2,10 @@ import { set } from '@balena/es-version';
|
||||
// Set the desired es version for downstream modules that support it, before we import any
|
||||
set('es2019');
|
||||
|
||||
import { setDefaultAutoSelectFamilyAttemptTimeout } from 'net';
|
||||
// Increase the timeout for the happy eyeballs algorithm to 5000ms to avoid issues on slower networks
|
||||
setDefaultAutoSelectFamilyAttemptTimeout(5000);
|
||||
|
||||
import { NOTFOUND } from 'dns';
|
||||
import mdnsResolver from 'mdns-resolver';
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user