M
net.setDefaultAutoSelectFamilyAttemptTimeout
History
Added in: v19.8.0, v18.18.0
v19.8.0, v18.18.0
Introduced in: v0.10.0
v0.10.0
net.setDefaultAutoSelectFamilyAttemptTimeout(value): void
Sets the default value of the autoSelectFamilyAttemptTimeout option of socket.connect(options).
Attributes
value:
numberThe new default value, which must be a positive number. If the number is less than
10,
the value 10 is used instead. The initial default value is 250 or the value specified via the command line
option --network-family-autoselection-attempt-timeout.