net.setDefaultAutoSelectFamilyAttemptTimeout(value)
设置 socket.connect(options)
的 autoSelectFamilyAttemptTimeout
选项的默认值。
¥Sets the default value of the autoSelectFamilyAttemptTimeout
option of socket.connect(options)
.
-
value
<number> 新的默认值,必须是正数。如果数字小于10
,则使用值10
。初始默认值为250
或通过命令行选项--network-family-autoselection-attempt-timeout
指定的值。¥
value
<number> The new default value, which must be a positive number. If the number is less than10
, the value10
is used instead. The initial default value is250
or the value specified via the command line option--network-family-autoselection-attempt-timeout
.