Changed default outgoing_s2s_families to IPv6 as servers are within datacenters

where IPv6 is more commonly enabled (contrary to clients), and if it's not
present - it'll just fall back to IPv4.
This commit is contained in:
Jonathan Davies 2021-11-15 14:55:26 +00:00
parent 3b50cd36ba
commit 3a09cfed65
2 changed files with 4 additions and 4 deletions

View File

@ -1203,11 +1203,11 @@ option)\&. Later, when memory drops below this
percents\&.
.RE
.PP
\fBoutgoing_s2s_families\fR: \fI[ipv4 | ipv6, \&.\&.\&.]\fR
\fBoutgoing_s2s_families\fR: \fI[ipv6 | ipv4, \&.\&.\&.]\fR
.RS 4
Specify which address families to try, in what order\&. The default is
\fI[ipv4, ipv6]\fR
which means it first tries connecting with IPv4, if that fails it tries using IPv6\&.
\fI[ipv6, ipv4]\fR
which means it first tries connecting with IPv6, if that fails it tries using IPv4\&.
.RE
.sp
\fINote\fR about the next option: added in 20\&.12:

View File

@ -611,7 +611,7 @@ options() ->
{oom_killer, true},
{oom_queue, 10000},
{oom_watermark, 80},
{outgoing_s2s_families, [inet, inet6]},
{outgoing_s2s_families, [inet6, inet]},
{outgoing_s2s_ipv4_address, undefined},
{outgoing_s2s_ipv6_address, undefined},
{outgoing_s2s_port, 5269},