mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-15 16:38:54 +00:00
Document the mongo.ping_interval and mongo.is_master_interval settings.
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@325351 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
cf81347191
commit
0d794a674f
1 changed files with 46 additions and 0 deletions
|
@ -50,6 +50,11 @@
|
|||
<entry>27017</entry>
|
||||
<entry>PHP_INI_ALL</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.mongo.is-master-interval">mongo.is_master_interval</link></entry>
|
||||
<entry>60</entry>
|
||||
<entry>PHP_INI_ALL</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.mongo.long-as-object">mongo.long_as_object</link></entry>
|
||||
<entry>false</entry>
|
||||
|
@ -60,6 +65,11 @@
|
|||
<entry>false<link linkend="ini.mongo.native-long">*</link></entry>
|
||||
<entry>PHP_INI_ALL</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.mongo.ping-interval">mongo.ping_interval</link></entry>
|
||||
<entry>5</entry>
|
||||
<entry>PHP_INI_ALL</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry><link linkend="ini.mongo.utf8">mongo.utf8</link></entry>
|
||||
<entry>"1"</entry>
|
||||
|
@ -199,6 +209,24 @@ $query = array( "i" => array( ":gt" => 20, ":lte" => 30 ) );
|
|||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry xml:id="ini.mongo.is-master-interval">
|
||||
<term>
|
||||
<parameter>mongo.is_master_interval</parameter>
|
||||
<type>int</type>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Added in version 1.2.10.
|
||||
</para>
|
||||
<para>
|
||||
For replicaset connections: The minimum interval with which the driver
|
||||
will send "isMaster" requests to the MongoDB server. If the value is lower,
|
||||
there will be more requests, but the driver finds faster whether the
|
||||
topology of the replicaset has been changed.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry xml:id="ini.mongo.long-as-object">
|
||||
<term>
|
||||
<parameter>mongo.long_as_object</parameter>
|
||||
|
@ -253,6 +281,24 @@ $query = array( "i" => array( ":gt" => 20, ":lte" => 30 ) );
|
|||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry xml:id="ini.mongo.ping-interval">
|
||||
<term>
|
||||
<parameter>mongo.ping_interval</parameter>
|
||||
<type>int</type>
|
||||
</term>
|
||||
<listitem>
|
||||
<para>
|
||||
Added in version 1.2.10.
|
||||
</para>
|
||||
<para>
|
||||
For replicaset connections: The minimum interval with which the driver
|
||||
will send "ping" requests to the MongoDB server. If the value is lower,
|
||||
there will be more pings, but the driver finds faster whether a node is
|
||||
no longer reachable from the replicaset.
|
||||
</para>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry xml:id="ini.mongo.utf8">
|
||||
<term>
|
||||
<parameter>mongo.utf8</parameter>
|
||||
|
|
Loading…
Reference in a new issue