Skip to content

Commit fbe040b

Browse files
committed
Document "srvMaxHosts" and "srvServiceName" URI options
https://jira.mongodb.org/browse/PHPC-1900 https://jira.mongodb.org/browse/PHPC-1908
1 parent d5127e7 commit fbe040b

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

reference/mongodb/mongodb/driver/manager/construct.xml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -470,6 +470,27 @@ mongodb://[username:password@]host1[:port1][,host2[:port2],...[,hostN[:portN]]][
470470
</para>
471471
</entry>
472472
</row>
473+
<row>
474+
<entry>srvMaxHosts</entry>
475+
<entry><type>int</type></entry>
476+
<entry>
477+
<para>
478+
The maximum number of SRV results to randomly select when initially
479+
populating the seedlist or, during SRV polling, adding new hosts to
480+
the topology. Defaults to <literal>0</literal> (i.e. no maximum).
481+
</para>
482+
</entry>
483+
</row>
484+
<row>
485+
<entry>srvServiceName</entry>
486+
<entry><type>string</type></entry>
487+
<entry>
488+
<para>
489+
The service name to use for SRV lookup in initial DNS seedlist
490+
discovery and SRV polling. Defaults to <literal>"mongodb"</literal>.
491+
</para>
492+
</entry>
493+
</row>
473494
<row>
474495
<entry>ssl</entry>
475496
<entry><type>bool</type></entry>
@@ -988,6 +1009,15 @@ mongodb://[username:password@]host1[:port1][,host2[:port2],...[,hostN[:portN]]][
9881009
</row>
9891010
</thead>
9901011
<tbody>
1012+
<row>
1013+
<entry>PECL mongodb 1.13.0</entry>
1014+
<entry>
1015+
<para>
1016+
Added the <literal>"srvMaxHosts"</literal> and
1017+
<literal>"srvServiceName"</literal> URI options.
1018+
</para>
1019+
</entry>
1020+
</row>
9911021
<row>
9921022
<entry>PECL mongodb 1.12.0</entry>
9931023
<entry>

0 commit comments

Comments
 (0)