mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
Added "socketTimeoutMS" & "connectTimeoutMS" options, as of 1.3.4
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329457 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
parent
bb129b41d1
commit
c91d2457f1
1 changed files with 33 additions and 2 deletions
|
@ -167,13 +167,35 @@ mongodb://[username:password@]host1[:port1][,host2[:port2:],...]/db
|
|||
See the replica set example below for details.
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
<literal>"connectTimeoutMS"</literal>
|
||||
</para>
|
||||
<para>
|
||||
How long a connection can take to be opened before timing out.
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
<literal>"timeout"</literal>
|
||||
</para>
|
||||
<para>
|
||||
For how long the driver should try to connect to the database (in
|
||||
milliseconds).
|
||||
Deprecated alias for "connectTimeoutMS"
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>
|
||||
<literal>"socketTimeoutMS"</literal>
|
||||
</para>
|
||||
<para>
|
||||
How long a send or receive on a socket can take before timing out.
|
||||
<note>
|
||||
<simpara>
|
||||
This is a client side timeout. If a <literal>insert</literal> hits
|
||||
the socketTimeoutMS there is no way to know if the server actually
|
||||
received the write or not.
|
||||
</simpara>
|
||||
</note>
|
||||
</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
|
@ -263,6 +285,15 @@ mongodb://[username:password@]host1[:port1][,host2[:port2:],...]/db
|
|||
</row>
|
||||
</thead>
|
||||
<tbody>
|
||||
<row>
|
||||
<entry>1.3.4</entry>
|
||||
<entry>
|
||||
<para>
|
||||
Added the <literal>"connectTimeoutMS"</literal> and
|
||||
<literal>"socketTimeoutMS"</literal> options.
|
||||
</para>
|
||||
</entry>
|
||||
</row>
|
||||
<row>
|
||||
<entry>1.3.0</entry>
|
||||
<entry>
|
||||
|
|
Loading…
Reference in a new issue