From 0d794a674f4d0c4f3c6183726cad8ad48d09314c Mon Sep 17 00:00:00 2001 From: Derick Rethans Date: Fri, 20 Apr 2012 10:27:37 +0000 Subject: [PATCH] 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 --- reference/mongo/ini.xml | 46 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/reference/mongo/ini.xml b/reference/mongo/ini.xml index 3cfa9e9065..8756518b66 100644 --- a/reference/mongo/ini.xml +++ b/reference/mongo/ini.xml @@ -50,6 +50,11 @@ 27017 PHP_INI_ALL + + mongo.is_master_interval + 60 + PHP_INI_ALL + mongo.long_as_object false @@ -60,6 +65,11 @@ false* PHP_INI_ALL + + mongo.ping_interval + 5 + PHP_INI_ALL + mongo.utf8 "1" @@ -199,6 +209,24 @@ $query = array( "i" => array( ":gt" => 20, ":lte" => 30 ) ); + + + mongo.is_master_interval + int + + + + Added in version 1.2.10. + + + 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. + + + + mongo.long_as_object @@ -253,6 +281,24 @@ $query = array( "i" => array( ":gt" => 20, ":lte" => 30 ) ); + + + mongo.ping_interval + int + + + + Added in version 1.2.10. + + + 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. + + + + mongo.utf8