From a7deeda9990fcddf8139f6035b9a519d01186358 Mon Sep 17 00:00:00 2001 From: Derick Rethans Date: Mon, 20 May 2013 23:09:32 +0000 Subject: [PATCH] Document wtimeout and wTimeoutMS properly. git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@330322 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/mongo/mongoclient/construct.xml | 46 +++++++++++++++++------ 1 file changed, 34 insertions(+), 12 deletions(-) diff --git a/reference/mongo/mongoclient/construct.xml b/reference/mongo/mongoclient/construct.xml index 7303183c93..32b6d46ace 100644 --- a/reference/mongo/mongoclient/construct.xml +++ b/reference/mongo/mongoclient/construct.xml @@ -211,21 +211,13 @@ mongodb://[username:password@]host1[:port1][,host2[:port2:],...]/db How long a send or receive on a socket can take before timing out. - This is a client side timeout. If a insert hits - the socketTimeoutMS there is no way to know if the server actually - received the write or not. + This is a client side timeout. If an insert hits + the "socketTimeoutMS" value there is no way to + know if the server actually received the write or not. - - - "timeout" - - - Deprecated alias for "connectTimeoutMS" - - "username" @@ -265,7 +257,7 @@ mongodb://[username:password@]host1[:port1][,host2[:port2:],...]/db - "wTimeout" + "wTimeoutMS" This option is used in combination with the "w" @@ -277,6 +269,27 @@ mongodb://[username:password@]host1[:port1][,host2[:port2:],...]/db + + The following options are deprecated and should no longer be used: + + + + "timeout" + + + Deprecated alias for "connectTimeoutMS". + + + + + "wTimeout" + + + Deprecated alias for "wTimeoutMS". + + + + @@ -313,6 +326,15 @@ mongodb://[username:password@]host1[:port1][,host2[:port2:],...]/db + + 1.4.0 + + + Added the "wTimeoutMS" option has replacement + for "wTimeout". + + + 1.3.4