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 指定的值。