mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
Document mongodb.mock_service_id INI option
https://jira.mongodb.org/browse/PHPC-1978
This commit is contained in:
parent
7c5379029e
commit
d587d7ea33
1 changed files with 35 additions and 0 deletions
|
@ -23,6 +23,12 @@
|
|||
<entry>PHP_INI_ALL</entry>
|
||||
<entry></entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.mongodb.mock_service_id">mongodb.mock_service_id</link></entry>
|
||||
<entry>"0"</entry>
|
||||
<entry>PHP_INI_ALL</entry>
|
||||
<entry>Available as of mongodb 1.11.0.</entry>
|
||||
</row>
|
||||
</tbody>
|
||||
</tgroup>
|
||||
</table>
|
||||
|
@ -73,6 +79,35 @@
|
|||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry xml:id="ini.mongodb.mock_service_id">
|
||||
<term>
|
||||
<parameter>mongodb.mock_service_id</parameter>
|
||||
<type>string</type>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
This option can be used to enable or disable mocking of the
|
||||
<literal>serviceId</literal> field in <literal>hello</literal> command
|
||||
responses.
|
||||
</para>
|
||||
<para>
|
||||
Specify an empty string, <literal>"0"</literal>,
|
||||
<literal>"off"</literal>, <literal>"no"</literal>, or
|
||||
<literal>"false"</literal> to disable mocking.
|
||||
</para>
|
||||
<para>
|
||||
Specify <literal>"1"</literal>, <literal>"on"</literal>,
|
||||
<literal>"yes"</literal>, or <literal>"true"</literal> to enable
|
||||
mocking.
|
||||
</para>
|
||||
<note>
|
||||
<para>
|
||||
This option is primarily intended for internal testing of load balancers
|
||||
and should not be used under normal circumstances.
|
||||
</para>
|
||||
</note>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
</para>
|
||||
</article>
|
||||
|
|
Loading…
Reference in a new issue